alexapy.aiohttp.http

Functions

  • ws_ext_gen(): Undocumented.

  • ws_ext_parse(): Undocumented.

Classes

  • StreamWriter: Abstract stream writer.

  • HttpVersion: HttpVersion(major, minor)

  • HeadersParser: Undocumented.

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

  • HttpRequestParser: Read request status line. Exception .http_exceptions.BadStatusLine

  • HttpResponseParser: Read response status line and headers.

  • RawRequestMessage: RawRequestMessage(method, path, version, headers, raw_headers, should_close, compression, upgrade, chunked, url)

  • RawResponseMessage: RawResponseMessage(version, code, reason, headers, raw_headers, should_close, compression, upgrade, chunked)

  • WebSocketReader: Undocumented.

  • WebSocketWriter: Undocumented.

  • WSMessage: _WSMessageBase(type, data, extra)

  • WSMsgType: An enumeration.

  • WSCloseCode: An enumeration.

Exceptions

  • HttpProcessingError: HTTP error.

  • WebSocketError: WebSocket protocol parser error.

Variables

  • RESPONSES

  • SERVER_SOFTWARE

  • HttpVersion10

  • HttpVersion11

  • WS_CLOSED_MESSAGE

  • WS_CLOSING_MESSAGE

  • WS_KEY