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
Type | Name |
---|---|
HttpRequestMessage | request |
CancellationToken | cancellationToken |