Internal HTTP Client configuration#

This private http client is used for internal communication between JupyterHub components. The client and class are not intended for direct public use, but can be configured for performance tuning of the underlying aiohttp Client objects.

JupyterHubHTTPClient#

class jupyterhub.httpclient.JupyterHubHTTPClient(*args: t.Any, **kwargs: t.Any)#

Make HTTP requests.

This class is used to make intra-JupyterHub requests.

Added in version 6.0.

connector_options c.JupyterHubHTTPClient.connector_options = Dict()#

See aiohttp.BaseConnector for options to set on the internal HTTP connector.

Examples include:

  • limit

  • limit_per_host

  • force_close

session_options c.JupyterHubHTTPClient.session_options = Dict()#

See aiohttp.ClientSession for options to set on the internal HTTP client session.

Examples include:

  • timeout