4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-13 19:36:28 +00:00

Replace gorilla with melody for websocket API (#1205)

This commit is contained in:
NikkyAI
2020-08-26 22:27:00 +02:00
committed by GitHub
parent 88d371c71c
commit 27c02549c8
16 changed files with 978 additions and 34 deletions

View File

@ -1540,6 +1540,8 @@ Buffer=1000
#Bearer token used for authentication
#curl -H "Authorization: Bearer token" http://localhost:4242/api/messages
# https://github.com/vi/websocat
# websocat -H="Authorization: Bearer token" ws://127.0.0.1:4242/api/websocket
#OPTIONAL (no authorization if token is empty)
Token="mytoken"