sfr-server 0.1.1

The server implementation for a Slack App.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! The responses for Slack.

pub mod home;
pub mod oauth;
pub mod slash_command;

/// The constant value that represent `"Content-Type: text/plain"` header.
const CT_TEXT_PLAIN: (&str, &str) = ("Content-Type", "text/plain");

/// The constant value that represent `"Content-Type: text/html"` header.
const CT_TEXT_HTML: (&str, &str) = ("Content-Type", "text/html; charset = utf-8");

/// The constant value that represent `"Content-Type: application/json"` header.
const CT_APPLICATION_JSON: (&str, &str) = ("Content-Type", "application/json");