Skip to main content

EnableCorsMessageHandler

Required to enable CORS requests

Assembly: ServiceStack.Blazor.dll
View Source
Declaration
public class EnableCorsMessageHandler : DelegatingHandler

Methods

SendAsync(HttpRequestMessage, CancellationToken)

View Source
Declaration
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Returns

Task<HttpResponseMessage>

Parameters
TypeName
HttpRequestMessagerequest
CancellationTokencancellationToken