Choose a network to open a connection to.
Synopsis
Declared in <net.h>
std::optional<Network>
PickNetwork(std::optional<Proxy>& proxy) const;
Return Value
the selected network, or std::nullopt if none could be selected.
Parameters
Name |
Description |
proxy [out] |
Optional proxy to override the normal proxy selection. Will be set if !std::nullopt is returned. Could be set to |
Created with MrDocs