DomainFronting constructor
DomainFronting({
- DomainFrontingDomainLookup? dnsLookup,
- bool noIpSkip = true,
- bool manual = false,
dnsLookup
: Handle domain name resolution.
noIpSkip: Skip DomainFronting if no ip is obtained, otherwise an exception will be thrown.
manual: Manual mode, you need to pass DomainFronting.auto or DomainFronting.ip in the request options to enable it. Set to false to enable all requests by default
Implementation
DomainFronting({
DomainFrontingDomainLookup? dnsLookup,
this.noIpSkip = true,
this.manual = false,
}) {
_dnsLookup = dnsLookup;
}