watcherclient.common.httpclient module¶
-
class
watcherclient.common.httpclient.
HTTPClient
(endpoint, **kwargs)[source]¶ Bases:
watcherclient.common.httpclient.VersionNegotiationMixin
-
class
watcherclient.common.httpclient.
SessionClient
(os_infra_optim_api_version, api_version_select_state, max_retries, retry_interval, endpoint, **kwargs)[source]¶ Bases:
watcherclient.common.httpclient.VersionNegotiationMixin
,keystoneauth1.adapter.LegacyJsonAdapter
HTTP client based on Keystone client session.
-
class
watcherclient.common.httpclient.
VerifiedHTTPSConnection
(host, port, key_file=None, cert_file=None, ca_file=None, timeout=None, insecure=False)[source]¶ Bases:
http.client.HTTPSConnection
httplib-compatible connection using client-side SSL authentication
- :see http://code.activestate.com/recipes/
577548-https-httplib-client-connection-with-certificate-v/