Crate sfr_server
source ·Expand description
§sfr-server: The server implementation for a Slack App.
The sfr-server provides server implementation powered by axum.
The user can create a Slack App just to implement the handler traits.
sfr-server is the parts of slack-framework-rs.
See slack-framework-rs for details.
Re-exports§
pub use tokio;
Structs§
- The configuration for a server.
- An asynchronous
Clientto make Requests with. - The server type.
- The response for Slack Slash Command.
- The configuration to serve static files.
Enums§
- The response for OAuth redirect.
- The type to respond a HTTP status.
Traits§
- The trait representing the interface that returns home page.
- The trait representing the interface that treats about OAuth.
- The trait representing the interface that acts as a slash command.
Functions§
- Initializes the logger.