Condividi tramite


WebAssemblyHttpRequestMessageExtensions.SetBrowserRequestCredentials Metodo

Definizione

Configura un valore per l'opzione 'credentials' per la richiesta HTTP.

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

Parametri

requestMessage
HttpRequestMessage

Oggetto HttpRequestMessage.

Restituisce

Oggetto HttpRequestMessage.

Commenti

Vedere https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials.

Si applica a