WebAssemblyHttpRequestMessageExtensions.SetBrowserRequestCache Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Configura un valor para la opción "cache" para la solicitud HTTP.
public:
[System::Runtime::CompilerServices::Extension]
static System::Net::Http::HttpRequestMessage ^ SetBrowserRequestCache(System::Net::Http::HttpRequestMessage ^ requestMessage, Microsoft::AspNetCore::Components::WebAssembly::Http::BrowserRequestCache requestCache);
public static System.Net.Http.HttpRequestMessage SetBrowserRequestCache (this System.Net.Http.HttpRequestMessage requestMessage, Microsoft.AspNetCore.Components.WebAssembly.Http.BrowserRequestCache requestCache);
static member SetBrowserRequestCache : System.Net.Http.HttpRequestMessage * Microsoft.AspNetCore.Components.WebAssembly.Http.BrowserRequestCache -> System.Net.Http.HttpRequestMessage
<Extension()>
Public Function SetBrowserRequestCache (requestMessage As HttpRequestMessage, requestCache As BrowserRequestCache) As HttpRequestMessage
Parámetros
- requestMessage
- HttpRequestMessage
- requestCache
- BrowserRequestCache
La BrowserRequestCache opción.
Devoluciones
Comentarios
Vea https://developer.mozilla.org/en-US/docs/Web/API/Request/cache.