Class StopRoutingHandler
Represents a handler that specifies routing should not handle requests for a route template. When a route provides this class as a handler, requests matching against the route will be ignored.
public sealed class StopRoutingHandler : HttpMessageHandler, IDisposable
- Inheritance
-
StopRoutingHandler
- Implements
- Inherited Members
Constructors
StopRoutingHandler()
Initializes a new instance of the StopRoutingHandler class.
public StopRoutingHandler()
Methods
SendAsync(HttpRequestMessage, CancellationToken)
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Parameters
request
HttpRequestMessagecancellationToken
CancellationToken