Part of libcloud.drivers.linode View Source View In Hierarchy
Wraps SSL connections to the Linode API, automagically injecting the parameters that the API needs for each request.
Method | add_default_params | Add parameters that are necessary for every request |
Inherited from ConnectionKey:
Method | __init__ | Initialize `user_id` and `key`; set `secure` to an int
based on passed value. |
Method | connect | Establish a connection with the API server. |
Method | user_agent_append | Append a token to a user agent string. |
Method | request | Request a given `action`. |
Method | add_default_headers | Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers` |
Method | encode_data | Encode body data. |
Method | _user_agent | Undocumented |
This method adds api_key
and
api_responseFormat
to the request.