Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UnityWebRequest.certificateHandler

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public var certificateHandler: Networking.CertificateHandler;
public Networking.CertificateHandler certificateHandler;

Description

Holds a reference to a CertificateHandler object, which manages certificate validation for this UnityWebRequest.

Setting this property to null makes the platform use the default certificate validation. Some platforms will validate certificates against a root certificate authority store. Other platforms will simply bypass certificate validation completely.

Not all platforms support certificate validation callbacks. See CertificateHandler for a list of supported platforms.

This property cannot be changed after calling Send.

Default value: null.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答