(add-new-routes additional-logged-in-routing-set
additional-logged-out-routing-set)
Adds routes particular for this project
Adds routes particular for this project
(conj-new-routes routing-set new-routes)
Adds new routes
Adds new routes
(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 usernames)
Get chat history for particular users
Get chat history for particular users
(get-report request)
Generates pdf report and returns it's bytes in response body
/reports?report=table&entity=user&page=-1&language=english /reports?report=table&entity=user&page=1&language=english
/reports?report=single&entity=user&id=0123456789&language=english /reports?report=single&entity=user&id=0123456789&language=english
Generates pdf report and returns it's bytes in response body /reports?report=table&entity=user&page=-1&language=english /reports?report=table&entity=user&page=1&language=english /reports?report=single&entity=user&id=0123456789&language=english /reports?report=single&entity=user&id=0123456789&language=english
(get-websocket-output-fn username)
Checks if there is open websocket for particular username if there is websocket and it is open return websocket-output-fn if there is websocket and it's closed or there is no websocket for particular username return nil
Checks if there is open websocket for particular username if there is websocket and it is open return websocket-output-fn if there is websocket and it's closed or there is no websocket for particular username return nil
(not-authorized)
If reqeust is unauthorized
If reqeust is unauthorized
(remove-websocket-from-set username)
Removes websocket for particular username from set
Removes websocket for particular username from set
(response-to-options request)
If request is for OPTIONS
If request is for OPTIONS
(routing-fn request)
Routing function that selects right route
Routing function that selects right route
(save-chat-message {usernames :usernames message :message})
Save chat message to database
Save chat message to database
(sign-up request)
Sign up new user with given data
Sign up new user with given data
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close