summaryrefslogtreecommitdiff
path: root/src/public
diff options
context:
space:
mode:
Diffstat (limited to 'src/public')
-rw-r--r--src/public/docs.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/public/docs.rs b/src/public/docs.rs
index 7417183..976638b 100644
--- a/src/public/docs.rs
+++ b/src/public/docs.rs
@@ -10,6 +10,7 @@ use crate::{
use super::console::beautify;
pub enum EndpointMethod {
+ Get,
Post,
Put,
Patch,
@@ -19,6 +20,7 @@ pub enum EndpointMethod {
impl ToString for EndpointMethod {
fn to_string(&self) -> String {
match self {
+ Self::Get => "GET".to_owned(),
Self::Post => "POST".to_owned(),
Self::Put => "PUT".to_owned(),
Self::Patch => "PATCH".to_owned(),
@@ -147,6 +149,8 @@ pub async fn init() {
chat::CHAT_LEAVE,
chat::CHAT_SEND,
chat::CHAT_LOAD,
+ chat::CHAT_TYPING,
+ chat::CHAT_CONNECT,
admin::ADMIN_AUTH,
admin::ADMIN_QUERY,
admin::ADMIN_POSTS,