Module slack_bolt.adapter.socket_mode

Socket Mode adapter package provides the following implementations. If you don't have strong reasons to use 3rd party library based adapters, we recommend using the built-in client based one.

Expand source code
"""Socket Mode adapter package provides the following implementations. If you don't have strong reasons to use 3rd party library based adapters, we recommend using the built-in client based one.

* `slack_bolt.adapter.socket_mode.builtin`
* `slack_bolt.adapter.socket_mode.websocket_client`
* `slack_bolt.adapter.socket_mode.aiohttp`
* `slack_bolt.adapter.socket_mode.websockets`
"""

# Don't add async module imports here
from .builtin import SocketModeHandler  # noqa

Sub-modules

slack_bolt.adapter.socket_mode.aiohttp

aiohttp based implementation / asyncio compatible

slack_bolt.adapter.socket_mode.async_base_handler

The base class of asyncio-based Socket Mode client implementation

slack_bolt.adapter.socket_mode.async_handler

Default implementation is the aiohttp-based one.

slack_bolt.adapter.socket_mode.async_internals

Internal functions

slack_bolt.adapter.socket_mode.base_handler

The base class of Socket Mode client implementation. If you want to build asyncio-based ones, use AsyncBaseSocketModeHandler instead.

slack_bolt.adapter.socket_mode.builtin

The built-in implementation, which does not have any external dependencies

slack_bolt.adapter.socket_mode.internals

Internal functions

slack_bolt.adapter.socket_mode.websocket_client

websocket-client based implementation

slack_bolt.adapter.socket_mode.websockets

websockets based implementation / asyncio compatible