cterasdk.clients.async_requests module#
- class cterasdk.clients.async_requests.BaseRequest(method, url, **kwargs)#
Bases:
object
HTTP Request
- class cterasdk.clients.async_requests.CookieJar(cookie_jar)#
Bases:
object
- get(key)#
- update_cookies(cookies, response_url=None)#
- class cterasdk.clients.async_requests.CopyRequest(url, **kwargs)#
Bases:
BaseRequest
COPY
- class cterasdk.clients.async_requests.DeleteRequest(url, **kwargs)#
Bases:
BaseRequest
DELETE
- class cterasdk.clients.async_requests.FormData(fields: Iterable[Any] = (), quote_fields: bool = True, charset: str | None = None)#
Bases:
FormData
Class representing URL-encoded form data
- class cterasdk.clients.async_requests.GetRequest(url, **kwargs)#
Bases:
BaseRequest
POST
- class cterasdk.clients.async_requests.MkcolRequest(url, **kwargs)#
Bases:
BaseRequest
MKCOL
- class cterasdk.clients.async_requests.MoveRequest(url, **kwargs)#
Bases:
BaseRequest
MOVE
- class cterasdk.clients.async_requests.PostRequest(url, **kwargs)#
Bases:
BaseRequest
POST
- class cterasdk.clients.async_requests.PutRequest(url, **kwargs)#
Bases:
BaseRequest
PUT
- class cterasdk.clients.async_requests.Session(client_settings)#
Bases:
object
Asynchronous HTTP Session
- async await_promise(r, *, on_response=None)#
- async close()#
- property closed#
- property cookies#
- initialize(client_settings)#
- async promise(r, *, on_response=None)#
- async request(r, *, await_promise=False, on_response=None)#
- cterasdk.clients.async_requests.session_parameters(client_settings)#