C# Class StackExchange.Profiling.MiniProfilerHandler

Understands how to route and respond to MiniProfiler UI URLS.
Inheritance: IRouteHandler, IHttpHandler
Exibir arquivo Open project: JSkimming/MiniProfiler.WebAPI Class Usage Examples

Protected Methods

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

Adds profiling to the request.

Private Methods

Method Description
SetProfilerHeadder ( HttpResponseMessage response ) : HttpResponseMessage

Sets the profiler results in the response headers if profiling is enabled.

Method Details

SendAsync() protected method

Adds profiling to the request.
The was null.
protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request HttpRequestMessage The HTTP request message to send to the server.
cancellationToken CancellationToken A cancellation token to cancel operation.
return Task