Liking cljdoc? Tell your friends :D

slipway.handler


handlerclj

(handler handler opts)

handler-listclj

(handler-list ring-handler opts)

request-mapclj

(request-map base-request request)

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
raw docstring

uri-without-chskclj

(uri-without-chsk url ws-path)

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

× close