PythonMonkey v1.0.1 (dev)
|
Classes | |
class | XHRResponse |
Functions | |
request (str method, str url, dict headers, Union[str, ByteString] body, float timeoutMs, Callable[[int], None] processRequestBodyChunkLength, Callable[[], None] processRequestEndOfBody, Callable[[XHRResponse], None] processResponse, Callable[[bytearray], None] processBodyChunk, Callable[[], None] processEndOfBody, Callable[[asyncio.TimeoutError], None] onTimeoutError, Callable[[aiohttp.ClientError], None] onNetworkError, Callable[[str], Callable[..., None]] debug) | |
decodeStr (bytes data, encoding='utf-8') | |
Variables | |
Union | keepAliveConnector = None |
XMLHttpRequest-internal.decodeStr | ( | bytes | data, |
encoding = 'utf-8' |
|||
) |
XMLHttpRequest-internal.request | ( | str | method, |
str | url, | ||
dict | headers, | ||
Union[str, ByteString] | body, | ||
float | timeoutMs, | ||
Callable[[int], None] | processRequestBodyChunkLength, | ||
Callable[[], None] | processRequestEndOfBody, | ||
Callable[[XHRResponse], None] | processResponse, | ||
Callable[[bytearray], None] | processBodyChunk, | ||
Callable[[], None] | processEndOfBody, | ||
Callable[[asyncio.TimeoutError], None] | onTimeoutError, | ||
Callable[[aiohttp.ClientError], None] | onNetworkError, | ||
Callable[[str], Callable[..., None]] | debug | ||
) |
Union XMLHttpRequest-internal.keepAliveConnector = None |