The zaqar.common.api.request
module¶
-
class
Request
(action, body=None, headers=None, api=None, env=None)¶ Bases:
object
General data for a Zaqar request
Transport will generate a request object and send to this the API to be processed. :param action: Action to identify the API call being processed, i.e: ‘get_queues’, ‘get_messages’ :type action: str :param body: Request’s body. Default: None :type body: str :param headers: Request headers. Default: None :type headers: dict :param api: Api entry point. i.e: ‘queues.v1’ :type api: six.text_type. :param env: Request environment. Default: None :type env: dict
-
get_request
()¶
-