PythonMonkey   v0.9.1 (dev)
Loading...
Searching...
No Matches
XMLHttpRequest-internal Namespace Reference

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
 

Function Documentation

◆ decodeStr()

XMLHttpRequest-internal.decodeStr ( bytes  data,
  encoding = 'utf-8' 
)

◆ request()

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 
)

Variable Documentation

◆ keepAliveConnector

Union XMLHttpRequest-internal.keepAliveConnector = None