C# Class Microsoft.Research.DataOnboarding.WebApi.CorsHandler

Inheritance: System.Net.Http.DelegatingHandler
Mostrar archivo Open project: CDLUC3/dataup2

Public Methods

Method Description
CorsHandler ( ) : System.Diagnostics

Protected Methods

Method Description
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Send asynchronous method.

Private Methods

Method Description
AddCorsResponseHeaders ( HttpRequestMessage request, HttpResponseMessage response ) : void

Static method to add response headers.

ProcessCorsRequest ( HttpRequestMessage request, CancellationToken &cancellationToken ) : Task

Method to process core request.

Method Details

CorsHandler() public method

public CorsHandler ( ) : System.Diagnostics
return System.Diagnostics

SendAsync() protected method

Send asynchronous method.
protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage Request object.
cancellationToken System.Threading.CancellationToken CancellationToken object.
return Task