Liking cljdoc? Tell your friends :D

boundary.realtime.shell.handlers.ring-websocket

Ring 1.15 WebSocket upgrade handler for boundary-realtime.

Bridges Ring's map-based Listener (::ring.websocket/listener response) to the IRealtimeService connect/disconnect lifecycle.

Usage: (require '[boundary.realtime.shell.handlers.ring-websocket :as ws-handler])

;; In your route definitions {:path "/ws" :methods {:get {:handler (ws-handler/websocket-handler realtime-service)}}}

Ring 1.15 WebSocket upgrade handler for boundary-realtime.

Bridges Ring's map-based Listener (::ring.websocket/listener response)
to the IRealtimeService connect/disconnect lifecycle.

Usage:
  (require '[boundary.realtime.shell.handlers.ring-websocket :as ws-handler])

  ;; In your route definitions
  {:path "/ws"
   :methods {:get {:handler (ws-handler/websocket-handler realtime-service)}}}
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close