共用方式為


WebAssemblyHttpRequestMessageExtensions.SetBrowserRequestIntegrity 方法

定義

設定 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

參數

integrity
String

子資源完整性描述項。

傳回

HttpRequestMessage

備註

請參閱 https://developer.mozilla.org/en-US/docs/Web/API/Request/integrity

適用於