WebAssemblyHttpRequestMessageExtensions.SetBrowserRequestIntegrity 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定 HTTP 要求的 [完整性] 選項值。
public:
[System::Runtime::CompilerServices::Extension]
static System::Net::Http::HttpRequestMessage ^ SetBrowserRequestIntegrity(System::Net::Http::HttpRequestMessage ^ requestMessage, System::String ^ integrity);
public static System.Net.Http.HttpRequestMessage SetBrowserRequestIntegrity (this System.Net.Http.HttpRequestMessage requestMessage, string integrity);
static member SetBrowserRequestIntegrity : System.Net.Http.HttpRequestMessage * string -> System.Net.Http.HttpRequestMessage
<Extension()>
Public Function SetBrowserRequestIntegrity (requestMessage As HttpRequestMessage, integrity As String) As HttpRequestMessage
參數
- requestMessage
- HttpRequestMessage
- integrity
- String
子資源完整性描述項。
傳回
備註
請參閱 https://developer.mozilla.org/en-US/docs/Web/API/Request/integrity。