alexapy.aiohttp.web

Functions

  • middleware(): Undocumented.

  • normalize_path_middleware(): Middleware factory which produces a middleware that normalizes

  • json_response(): Undocumented.

  • delete(): Undocumented.

  • get(): Undocumented.

  • head(): Undocumented.

  • options(): Undocumented.

  • patch(): Undocumented.

  • post(): Undocumented.

  • put(): Undocumented.

  • route(): Undocumented.

  • static(): Undocumented.

  • view(): Undocumented.

  • run_app(): Run an app locally

Classes

  • Application: Abstract base class for generic types.

  • FileResponse: A response object can be used to send files.

  • RequestHandler: HTTP protocol implementation.

  • BaseRequest: Abstract base class for generic types.

  • FileField: Undocumented.

  • Request: Abstract base class for generic types.

  • ContentCoding: An enumeration.

  • Response: Undocumented.

  • StreamResponse: Undocumented.

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

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

  • RouteTableDef: Route definition table

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

  • AppRunner: Web Application runner

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

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

  • GracefulExit: Request to exit from the interpreter.

  • ServerRunner: Low-level web server runner

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

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

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

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

  • Server: Undocumented.

  • AbstractResource: Abstract base class for generic types.

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

  • DynamicResource: Abstract base class for generic types.

  • PlainResource: Abstract base class for generic types.

  • Resource: Abstract base class for generic types.

  • ResourceRoute: A route with resource

  • StaticResource: Abstract base class for generic types.

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

  • UrlMappingMatchInfo: dict() -> new empty dictionary

  • View: Abstract class based view.

  • WebSocketReady: Undocumented.

  • WebSocketResponse: Undocumented.

  • WSMsgType: An enumeration.

Exceptions

  • CleanupError: Unspecified run-time error.

  • HTTPAccepted: Base class for exceptions with status codes in the 200s.

  • HTTPBadGateway: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPBadRequest: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPClientError: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPConflict: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPCreated: Base class for exceptions with status codes in the 200s.

  • HTTPError: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPException: Common base class for all non-exit exceptions.

  • HTTPExpectationFailed: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPFailedDependency: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPForbidden: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPFound: Base class for exceptions with status codes in the 300s.

  • HTTPGatewayTimeout: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPGone: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPInsufficientStorage: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPInternalServerError: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPLengthRequired: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPMethodNotAllowed: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPMisdirectedRequest: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPMovedPermanently: Base class for exceptions with status codes in the 300s.

  • HTTPMultipleChoices: Base class for exceptions with status codes in the 300s.

  • HTTPNetworkAuthenticationRequired: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPNoContent: Base class for exceptions with status codes in the 200s.

  • HTTPNonAuthoritativeInformation: Base class for exceptions with status codes in the 200s.

  • HTTPNotAcceptable: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPNotExtended: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPNotFound: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPNotImplemented: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPNotModified: Base class for exceptions with status codes in the 300s.

  • HTTPOk: Base class for exceptions with status codes in the 200s.

  • HTTPPartialContent: Base class for exceptions with status codes in the 200s.

  • HTTPPaymentRequired: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPPermanentRedirect: Base class for exceptions with status codes in the 300s.

  • HTTPPreconditionFailed: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPPreconditionRequired: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPProxyAuthenticationRequired: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPRedirection: Base class for exceptions with status codes in the 300s.

  • HTTPRequestEntityTooLarge: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPRequestHeaderFieldsTooLarge: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPRequestRangeNotSatisfiable: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPRequestTimeout: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPRequestURITooLong: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPResetContent: Base class for exceptions with status codes in the 200s.

  • HTTPSeeOther: Base class for exceptions with status codes in the 300s.

  • HTTPServerError: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPServiceUnavailable: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPSuccessful: Base class for exceptions with status codes in the 200s.

  • HTTPTemporaryRedirect: Base class for exceptions with status codes in the 300s.

  • HTTPTooManyRequests: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPUnauthorized: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPUnavailableForLegalReasons: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPUnprocessableEntity: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPUnsupportedMediaType: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPUpgradeRequired: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPUseProxy: Base class for exceptions with status codes in the 300s.

  • HTTPVariantAlsoNegotiates: Base class for exceptions with status codes in the 400s and 500s.

  • HTTPVersionNotSupported: Base class for exceptions with status codes in the 400s and 500s.

  • PayloadAccessError: Payload was accessed after response was sent.

  • RequestPayloadError: Payload parsing error.