alexapy.aiohttp

Submodules

Functions

  • request(): Constructs and sends a request. Returns response object.

  • content_disposition_filename(): Undocumented.

  • parse_content_disposition(): Undocumented.

  • get_payload(): Undocumented.

Classes

  • BaseConnector: Base connector class.

  • ClientResponse: Undocumented.

  • ClientRequest: Undocumented.

  • ClientSession: First-class interface for making HTTP requests.

  • ClientTimeout: Undocumented.

  • ClientWebSocketResponse: Undocumented.

  • Fingerprint: Undocumented.

  • RequestInfo: Undocumented.

  • TCPConnector: TCP connector.

  • UnixConnector: Unix socket connector.

  • NamedPipeConnector: Named pipe connector.

  • CookieJar: Implements cookie storage adhering to RFC 6265.

  • DummyCookieJar: Implements a dummy cookie storage.

  • FormData: Helper class for multipart/form-data and

  • BasicAuth: Http basic authentication helper.

  • ChainMapProxy: Abstract base class for generic types.

  • HttpVersion: HttpVersion(major, minor)

  • WSMsgType: An enumeration.

  • WSCloseCode: An enumeration.

  • WSMessage: _WSMessageBase(type, data, extra)

  • BodyPartReader: Multipart reader for single body part.

  • MultipartReader: Multipart body reader.

  • MultipartWriter: Multipart body writer.

  • AsyncIterablePayload: Helper class that provides a standard way to create an ABC using

  • BufferedReaderPayload: Helper class that provides a standard way to create an ABC using

  • BytesIOPayload: Helper class that provides a standard way to create an ABC using

  • BytesPayload: Helper class that provides a standard way to create an ABC using

  • IOBasePayload: Helper class that provides a standard way to create an ABC using

  • JsonPayload: Helper class that provides a standard way to create an ABC using

  • Payload: Helper class that provides a standard way to create an ABC using

  • StringIOPayload: Helper class that provides a standard way to create an ABC using

  • StringPayload: Helper class that provides a standard way to create an ABC using

  • TextIOPayload: Helper class that provides a standard way to create an ABC using

  • payload_type: Undocumented.

  • streamer: Undocumented.

  • AsyncResolver: Use the aiodns package to make asynchronous DNS lookups

  • DefaultResolver: Use Executor for synchronous getaddrinfo() calls, which defaults to

  • ThreadedResolver: Use Executor for synchronous getaddrinfo() calls, which defaults to

  • Signal: Coroutine-based signal implementation.

  • DataQueue: DataQueue is a general-purpose blocking queue with one reader.

  • FlowControlDataQueue: FlowControlDataQueue resumes and pauses an underlying stream.

  • StreamReader: An enhancement of asyncio.StreamReader.

  • TraceConfig: First-class used to trace requests launched via ClientSession

  • TraceConnectionCreateEndParams: Parameters sent by the on_connection_create_end signal

  • TraceConnectionCreateStartParams: Parameters sent by the on_connection_create_start signal

  • TraceConnectionQueuedEndParams: Parameters sent by the on_connection_queued_end signal

  • TraceConnectionQueuedStartParams: Parameters sent by the on_connection_queued_start signal

  • TraceConnectionReuseconnParams: Parameters sent by the on_connection_reuseconn signal

  • TraceDnsCacheHitParams: Parameters sent by the on_dns_cache_hit signal

  • TraceDnsCacheMissParams: Parameters sent by the on_dns_cache_miss signal

  • TraceDnsResolveHostEndParams: Parameters sent by the on_dns_resolvehost_end signal

  • TraceDnsResolveHostStartParams: Parameters sent by the on_dns_resolvehost_start signal

  • TraceRequestChunkSentParams: Parameters sent by the on_request_chunk_sent signal

  • TraceRequestEndParams: Parameters sent by the on_request_end signal

  • TraceRequestExceptionParams: Parameters sent by the on_request_exception signal

  • TraceRequestRedirectParams: Parameters sent by the on_request_redirect signal

  • TraceRequestStartParams: Parameters sent by the on_request_start signal

  • TraceResponseChunkReceivedParams: Parameters sent by the on_response_chunk_received signal

Exceptions

  • ClientConnectionError: Base class for client socket errors.

  • ClientConnectorCertificateError: Response certificate error.

  • ClientConnectorError: Client connector error.

  • ClientConnectorSSLError: Response ssl error.

  • ClientError: Base class for client connection errors.

  • ClientHttpProxyError: HTTP proxy error.

  • ClientOSError: OSError error.

  • ClientPayloadError: Response payload error.

  • ClientProxyConnectionError: Proxy connection error.

  • ClientResponseError: Connection error during reading response.

  • ClientSSLError: Base error for ssl.*Errors.

  • ContentTypeError: ContentType found is not valid.

  • InvalidURL: Invalid URL.

  • ServerConnectionError: Server connection errors.

  • ServerDisconnectedError: Server disconnected.

  • ServerFingerprintMismatch: SSL certificate does not match expected fingerprint.

  • ServerTimeoutError: Server timeout error.

  • TooManyRedirects: Client was redirected too many times.

  • WSServerHandshakeError: websocket server handshake error.

  • WebSocketError: WebSocket protocol parser error.

  • BadContentDispositionHeader: Base class for warnings about dubious runtime behavior.

  • BadContentDispositionParam: Base class for warnings about dubious runtime behavior.

  • EofStream: eof stream indication.

Variables

  • hdrs

  • HttpVersion10

  • HttpVersion11

  • PAYLOAD_REGISTRY

  • EMPTY_PAYLOAD