Send HTTP DELETE request get ( url : str, ** kw ) → Response ¶ HTTP session that shares sockets and ssl context. Session ( socket_pool : module, ssl_context : SSLContext | _FakeSSLContext | None = None ) ¶ The HTTP content, encoded into a string according to the HTTP The HTTP content, parsed into a json dictionary property text : str ¶ iter_content ( chunk_size : int = 1, decode_unicode : bool = False ) → bytes ¶Īn iterator that will stream data by only reading ‘chunk_size’īytes and yielding them, when we can’t buffer the whole datastream json ( ) → Any ¶ Does not include headers from the trailer until The HTTP content direct from the socket, as bytes property headers : Dict ¶ The response from a request, contains all the headers/content close ( ) → None ¶ĭrain the remaining ESP socket buffers. Response ( sock : Legac圜ircuitPythonSocketType | CircuitPythonSocketType | StandardPythonSocketType, session : Session | None = None ) ¶ Raised when requests has retried to make a request unsuccessfully. The maximum amount of data to be received at once is specifiedīy bufsize. ![]() The return value is a bytes object representing recv ( bufsize : int = Ellipsis ) → bytes ¶ Legac圜ircuitPythonSocketType ( * args, ** kwargs ) ¶ĭescribes the structure a legacy CircuitPython socket type must have. property TLS_MODE : int ¶Ĭonstant representing that a socket’s connection mode is TLS. InterfaceType ( * args, ** kwargs ) ¶ĭescribes the structure every interface type must have. Set a timeout on blocking socket operations. settimeout ( value : float | None ) → None ¶ The meaning of the optional flags kwarg is send ( data : bytes, flags : int = Ellipsis ) → None ¶ CommonSocketType ( * args, ** kwargs ) ¶ĭescribes the common structure every socket type must have. Kwarg optionally may indicate SSL or not, depending on the underlying interface. connect ( address : Tuple, conntype : int | None = Ellipsis ) → None ¶Ĭonnect to a remote socket at the provided (host, port) address. CommonCircuitPythonSocketType ( * args, ** kwargs ) ¶ĭescribes the common structure every CircuitPython socket type must have. CircuitPythonSocketType ( * args, ** kwargs ) ¶ĭescribes the structure every modern CircuitPython socket type must have. Complete text of each license used is providedĪdafruit CircuitPython firmware for the supported boards:Ĭlass adafruit_requests. Short name ofĪ license can be found in a file within a module directory (usually Each module comes under its own licensing terms. ![]() Micropython-lib consists of multiple modules from different sources andĪuthors. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |