class documentation

class Request:

View In Hierarchy

Undocumented

Method __getstate__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method __setstate__ Undocumented
Async Method aread Read and return the request content.
Method read Read and return the request content.
Instance Variable extensions Undocumented
Instance Variable headers Undocumented
Instance Variable method Undocumented
Instance Variable stream Undocumented
Instance Variable url Undocumented
Property content Undocumented
Method ​_prepare Undocumented
Instance Variable ​_content Undocumented
def __getstate__(self):

Undocumented

Returns
typing.Dict[str, typing.Any]Undocumented
def __init__(self, method, url, *, params=None, headers=None, cookies=None, content=None, data=None, files=None, json=None, stream=None, extensions=None):

Undocumented

Parameters
method:typing.Union[str, bytes]Undocumented
url:typing.Union[URL, str, RawURL]Undocumented
params:QueryParamTypesUndocumented
headers:HeaderTypesUndocumented
cookies:CookieTypesUndocumented
content:RequestContentUndocumented
data:RequestDataUndocumented
files:RequestFilesUndocumented
json:typing.AnyUndocumented
stream:typing.Union[SyncByteStream, AsyncByteStream]Undocumented
extensions:dictUndocumented
def __repr__(self):

Undocumented

Returns
strUndocumented
def __setstate__(self, state):

Undocumented

Parameters
state:typing.Dict[str, typing.Any]Undocumented
async def aread(self):
Read and return the request content.
Returns
bytesUndocumented
def read(self):
Read and return the request content.
Returns
bytesUndocumented
extensions: dict =

Undocumented

headers =

Undocumented

method =

Undocumented

stream =

Undocumented

url =

Undocumented

@property
content: bytes =

Undocumented

def _prepare(self, default_headers):

Undocumented

Parameters
default​_headers:typing.Dict[str, str]Undocumented
_content =

Undocumented