WebAssemblyHttpRequestMessageExtensions.SetBrowserRequestIntegrity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures a value for the 'integrity' option for the HTTP request.
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
Parameters
- requestMessage
- HttpRequestMessage
The HttpRequestMessage.
- integrity
- String
The subresource integrity descriptor.
Returns
The HttpRequestMessage.
Remarks
See https://developer.mozilla.org/en-US/docs/Web/API/Request/integrity.