(action-allowed? request request-body allow-action-routing)
Check if action is allowed to user
Check if action is allowed to user
(get-allowed-actions request)
Get allowed actions for logged in user
Get allowed actions for logged in user
(get-allowed-actions-response request)
Get allowed actions for logged in user response
Get allowed actions for logged in user response
(get-chat-history request-body)
Get chat history for particular users
Get chat history for particular users
(not-found response-routing request)
If response-routing is nil return 404 not found
If response-routing is nil return 404 not found
(routing request
&
[response-routing allow-action-routing response-routing-not-logged-in])
Routing function
Routing function
(send-chat-message {usernames :usernames message :message})
Send chat message to selected user
Send chat message to selected user
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close