다음을 통해 공유


WebAssemblyHttpRequestMessageExtensions.SetBrowserRequestMode 메서드

정의

HTTP 요청에 대한 'mode' 옵션에 대한 값을 구성합니다.

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

매개 변수

반환

HttpRequestMessage

설명

https://developer.mozilla.org/en-US/docs/Web/API/Request/mode을 참조하세요.

적용 대상