soulfire.bot_connect.BotServiceASGIApplication¶
- class soulfire.bot_connect.BotServiceASGIApplication(service: BotService | collections.abc.AsyncGenerator[BotService], *, interceptors: collections.abc.Iterable[connectrpc.interceptor.Interceptor] = (), read_max_bytes: int | None = None, compressions: collections.abc.Iterable[connectrpc.compression.Compression] | None = None, codecs: collections.abc.Iterable[connectrpc.codec.Codec] | None = _DEFAULT_CODECS)[source]¶
Bases:
connectrpc.server.ConnectASGIApplication[BotService]An ASGI application for the Connect protocol.
- property path: str¶
Returns the URL path to mount the application to when serving multiple applications.