httpClient property

HttpClient httpClient
final

The HttpClient that will be used for HTTP requests during authentication.

You can use this to override the default http client handler and configure settings like proxies, client certificates, and cookies. While these are not required to connect to MongoDB Atlas under normal circumstances, they can be useful if client devices are behind corporate firewall or use a more complex networking setup.

Implementation

final HttpClient httpClient;