class documentation

class HttpClientRequest(object):

View In Hierarchy

Undocumented

Method __init__ Describes an HTTP request.
Method __repr__ Undocumented
Instance Variable completion_cb Undocumented
Instance Variable curl_config_fn Undocumented
Instance Variable error Undocumented
Instance Variable headers Undocumented
Instance Variable host Undocumented
Instance Variable method Undocumented
Instance Variable nicename Undocumented
Instance Variable path Undocumented
Instance Variable port Undocumented
Instance Variable post_data Undocumented
Instance Variable read_timeout Undocumented
Instance Variable resp_body Undocumented
Instance Variable resp_status_code Undocumented
Instance Variable success Undocumented
Property url Returns the full URL for this requests.
def __init__(self, host, port, method, path, headers=None, post_data=None, read_timeout=None, curl_config_fn=None, nicename=None, completion_cb=None):

Describes an HTTP request.

Parameters
host:stringHostname
port:intPort
method:stringMethod name
path:stringRequest path
headers:list or NoneAdditional headers to send, list of strings
post_data:string or NoneAdditional data to send
read_timeout:intif passed, it will be used as the read timeout while reading the response from the server
curl_config_fn:callableFunction to configure cURL object before request
nicename:stringName, presentable to a user, to describe this request (no whitespace)
completion_cb:callable accepting this request object as a single parameterCallback for request completion
def __repr__(self):

Undocumented

completion_cb =

Undocumented

curl_config_fn =

Undocumented

error =

Undocumented

headers: list =

Undocumented

host =

Undocumented

method =

Undocumented

nicename =

Undocumented

path =

Undocumented

port =

Undocumented

post_data: str =

Undocumented

read_timeout =

Undocumented

resp_body =

Undocumented

resp_status_code =

Undocumented

success =

Undocumented

@property
url =

Returns the full URL for this requests.