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

Name

Description

net

The network to look up.

Created with MrDocs