hypercorn.middleware.http_to_https module

class hypercorn.middleware.http_to_https.HTTPToHTTPSRedirectMiddleware(app: Union[Type[hypercorn.typing.ASGI2Protocol], Callable[[dict, Callable, Callable], Awaitable[None]]], host: str)

Bases: object