C# Class StackExchange.Profiling.MiniProfilerHandler

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

Méthodes protégées

Méthode Description
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Adds profiling to the request.

Private Methods

Méthode Description
SetProfilerHeadder ( HttpResponseMessage response ) : HttpResponseMessage

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

Method Details

SendAsync() protected méthode

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.
Résultat Task