Class DnsDelegatingHandler
Intercepts HTTP requests, resolving them to one or more IP addresses and making the request directly to the IP address with a host header.
Inheritance
DnsDelegatingHandler
Assembly: Ae.Dns.Protocol.dll
Syntax
public sealed class DnsDelegatingHandler : DelegatingHandler
Constructors
|
Improve this Doc
View Source
DnsDelegatingHandler(IDnsClient, Boolean)
Declaration
public DnsDelegatingHandler(IDnsClient dnsClient, bool internetProtocolV4 = true)
Parameters
Methods
|
Improve this Doc
View Source
SendAsync(HttpRequestMessage, CancellationToken)
Declaration
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
HttpRequestMessage |
request |
|
CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
Task<HttpResponseMessage> |
|