Class BowireNoProxyList
- Namespace
- Kuestenlogik.Bowire.Net
- Assembly
- Kuestenlogik.Bowire.dll
The hosts that bypass the proxy (#680), in the forms a NO_PROXY
variable or a browser's bypass list uses.
public sealed class BowireNoProxyList
- Inheritance
-
BowireNoProxyList
- Inherited Members
Remarks
example.com— that host and every subdomain of it (curl's reading)..example.com/*.example.com— the same: the domain and its subdomains.api-*.corp— a glob;*matches any run of characters.host:8443— only that port.10.0.0.0/8,192.168.1.7— an IP range or address.<local>— any host name without a dot.*— everything; the proxy is never used.
Entries are separated by commas, semicolons or whitespace; case does not matter.
Properties
Empty
A list that bypasses nothing.
public static BowireNoProxyList Empty { get; }
Property Value
Entries
The entries as given, normalised, for display.
public IReadOnlyList<string> Entries { get; }
Property Value
Methods
Matches(Uri)
Whether a request to target goes direct.
public bool Matches(Uri target)
Parameters
targetUri
Returns
Parse(params string?[])
Parse one or more lists; null and blank parts are ignored.
public static BowireNoProxyList Parse(params string?[] lists)
Parameters
listsstring[]