Compartir a través de


WebAssemblyHttpRequestMessageExtensions.SetBrowserResponseStreamingEnabled Método

Definición

Configura la respuesta de streaming para la solicitud HTTP.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Net::Http::HttpRequestMessage ^ SetBrowserResponseStreamingEnabled(System::Net::Http::HttpRequestMessage ^ requestMessage, bool streamingEnabled);
public static System.Net.Http.HttpRequestMessage SetBrowserResponseStreamingEnabled (this System.Net.Http.HttpRequestMessage requestMessage, bool streamingEnabled);
static member SetBrowserResponseStreamingEnabled : System.Net.Http.HttpRequestMessage * bool -> System.Net.Http.HttpRequestMessage
<Extension()>
Public Function SetBrowserResponseStreamingEnabled (requestMessage As HttpRequestMessage, streamingEnabled As Boolean) As HttpRequestMessage

Parámetros

streamingEnabled
Boolean

true si el streaming está habilitado; de lo contrario, false.

Devoluciones

El HttpRequestMessage.

Comentarios

Esta API solo es eficaz cuando el explorador HTTP Fetch admite el streaming de respuesta. Consulte https://developer.mozilla.org/en-US/docs/Web/API/Response.

Se aplica a