(websocket-transit-response response)
Wraps a Ring WebSocket response such that incoming and outgoing messages are formatted using Transit. See: wrap-websocket-transit.
Wraps a Ring WebSocket response such that incoming and outgoing messages are formatted using Transit. See: wrap-websocket-transit.
(wrap-websocket-transit handler)
Ring middleware that translates incoming and outgoing WebSocket messages using the Transit data format. The ring.websocket.protocols/on-message method will receive data decoded from Transit, and the ring.websocket/send function will send data encoded into Transit.
Ring middleware that translates incoming and outgoing WebSocket messages using the Transit data format. The ring.websocket.protocols/on-message method will receive data decoded from Transit, and the ring.websocket/send function will send data encoded into Transit.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close