GetProxy

Get the proxy configured for a given network, if any.

Synopsis

Declared in <netbase.h>

std::optional<Proxy>
GetProxy(Network net);

Return Value

The configured proxy, or std::nullopt if none is set.

Parameters

NameDescription
netThe network to look up.