make_ping_asgi
faststream.asgi.make_ping_asgi #
make_ping_asgi(
broker: BrokerUsecase[Any, Any, Any],
/,
timeout: float | None = None,
include_in_schema: bool = True,
description: str | None = None,
tags: Sequence[Union[Tag, TagDict, dict[str, Any]]]
| None = None,
unique_id: str | None = None,
) -> GetHandler
Create healthcheck ASGI handler for the given broker.
Source code in faststream/asgi/factories/ping.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | |