Property Egress
Egress
The server-side egress gate. When set, it REPLACES the simple host lists above for every HTTP tool, reads and writes alike: every request is validated by the policy (public-web or allowed-hosts mode, private-address protection, pinned connections). Reads (GET, HEAD, download) follow redirects through the gate, revalidating each hop, and ignore caller-provided headers; writes (POST, PUT, PATCH, DELETE) keep their caller headers except Host and never follow a redirect. Null keeps the classic client-side behavior.
public WebEgressPolicy Egress { get; set; }