If your LuciadCPillar-based client application is running behind a proxy server, you need to take extra steps to make use of the proxy. To work with a proxy, the LuciadCPillar-based client must specify information about the proxy itself, and user information for authentication on the proxy.
You can provide an implementation of the IProxySelector
IProxySelector
IProxySelector
interface to select a proxy for certain URLs.
You must register the implementation of the proxy selector in a LuciadCPillar Environment
Environment
Environment
class.
You create that Environment
Environment
Environment
class when you start using the LuciadCPillar library.
For more information about using the environment, see the
first map application sample.
Authentication
If the proxy requires authentication, you can provide your credentials through a custom
ICredentialsProvider
ICredentialsProvider
ICredentialsProvider
.
For more information, see How to provide authentication credentials.