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§
- Config
- The configuration for a server.
- Http
Client - An asynchronous
Clientto make Requests with. - Server
- The server type.
- Slash
Command Response - The response for Slack Slash Command.
- Static
Path Config - The configuration to serve static files.
Enums§
- Oauth
Redirect Response - The response for OAuth redirect.
- Response
Error - The type to respond a HTTP status.
Traits§
- Home
Handler Trait - The trait representing the interface that returns home page.
- Oauth
Handler Trait - The trait representing the interface that treats about OAuth.
- Slash
Command Handler Trait - The trait representing the interface that acts as a slash command.
Functions§
- init_
logger - Initializes the logger.