次の方法で共有


WebAssemblyHttpRequestMessageExtensions.SetBrowserRequestCredentials メソッド

定義

HTTP 要求の 'credentials' オプションの値を構成します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Net::Http::HttpRequestMessage ^ SetBrowserRequestCredentials(System::Net::Http::HttpRequestMessage ^ requestMessage, Microsoft::AspNetCore::Components::WebAssembly::Http::BrowserRequestCredentials requestCredentials);
public static System.Net.Http.HttpRequestMessage SetBrowserRequestCredentials (this System.Net.Http.HttpRequestMessage requestMessage, Microsoft.AspNetCore.Components.WebAssembly.Http.BrowserRequestCredentials requestCredentials);
static member SetBrowserRequestCredentials : System.Net.Http.HttpRequestMessage * Microsoft.AspNetCore.Components.WebAssembly.Http.BrowserRequestCredentials -> System.Net.Http.HttpRequestMessage
<Extension()>
Public Function SetBrowserRequestCredentials (requestMessage As HttpRequestMessage, requestCredentials As BrowserRequestCredentials) As HttpRequestMessage

パラメーター

requestCredentials
BrowserRequestCredentials

BrowserRequestCredentialsオプション。

戻り値

HttpRequestMessage

注釈

以下を参照してください。https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials

適用対象