Liking cljdoc? Tell your friends :D

slipway.handler


handlerclj

(handler handler opts)
source

handler-listclj

(handler-list ring-handler opts)
source

request-mapclj

(request-map base-request request)
source

safe-login-redirectclj

(safe-login-redirect request
                     {:slipway.handler/keys [ws-path] :or {ws-path "/chsk"}})

With dual http/ws handlers it is possible that the websocket initialization request to {..}/chsk trigers a login redirection and we don't want to post-login http redirect to {..}/chsk. Dropping back to {..}/ is better

With dual http/ws handlers it is possible that the websocket initialization request to {..}/chsk trigers a login
redirection and we don't want to post-login http redirect to {..}/chsk. Dropping back to {..}/ is better
sourceraw docstring

uri-without-chskclj

(uri-without-chsk url ws-path)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close