Ligare.web.middleware
Middleware functionality for handing HTTP requests and responses.
Functions
| 
 | |
- Ligare.web.middleware.bind_errorhandler(app, code_or_exception)[source]
- Return type:
- Callable[[- TypeVar(- T_error_handler, bound=- Union[- Callable[- ...,- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- Union[Headers,- Mapping[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]],- Sequence[- tuple[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]]]]],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- int],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- int,- Union[Headers,- Mapping[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]],- Sequence[- tuple[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]]]]], WSGIApplication]],- Callable[- ...,- Awaitable[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- Union[Headers,- Mapping[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]],- Sequence[- tuple[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]]]]],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- int],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- int,- Union[Headers,- Mapping[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]],- Sequence[- tuple[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]]]]], WSGIApplication]]]])],- Optional[- TypeVar(- T_error_handler, bound=- Union[- Callable[- ...,- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- Union[Headers,- Mapping[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]],- Sequence[- tuple[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]]]]],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- int],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- int,- Union[Headers,- Mapping[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]],- Sequence[- tuple[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]]]]], WSGIApplication]],- Callable[- ...,- Awaitable[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- Union[Headers,- Mapping[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]],- Sequence[- tuple[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]]]]],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- int],- tuple[- Union[Response,- str,- bytes,- list[- Any],- Mapping[- str,- Any],- Iterator[- str],- Iterator[- bytes]],- int,- Union[Headers,- Mapping[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]],- Sequence[- tuple[- str,- Union[- str,- list[- str],- tuple[- str,- ...]]]]]], WSGIApplication]]]])]]
 
Modules
| String constants used by Ligare.web. | |
| Ligare.web's integration with Injector and Flask Injector. | |
| Ligare.web's integration with Ligare.platform.feature_flag. | |
| Flask-specific integrations for Ligare.web. | |
| Connexion and OpenAPI-specific integrations for Ligare.web. | |
| Ligare.web's IAM controls and integration with Ligare.identity. |