LuciadCPillar 2023.1.04
luciad::IProxySelector Class Referenceabstract

This interface allows to select a proxy to use when connecting to network resources. More...

#include <luciad/loaders/IProxySelector.h>

Public Member Functions

virtual ~IProxySelector ()=default
 
virtual std::optional< ProxyselectProxy (const std::string &uri)=0
 Select the proxy to use when connecting to the given URI. More...
 

Detailed Description

This interface allows to select a proxy to use when connecting to network resources.

Implementations of this interface must be thread-safe.

See also the related guide on How to configure a proxy server.

Since
2022.0

Constructor & Destructor Documentation

◆ ~IProxySelector()

virtual luciad::IProxySelector::~IProxySelector ( )
virtualdefault

Member Function Documentation

◆ selectProxy()

virtual std::optional< Proxy > luciad::IProxySelector::selectProxy ( const std::string &  uri)
pure virtual

Select the proxy to use when connecting to the given URI.

Parameters
urithe connection URI.
Returns
the proxy to use, if any.