Liking cljdoc? Tell your friends :D

framework.websockets.core


close!clj

source

edn->clj

(edn-> e)

EDN to 'uri', converts edn string to map, extract :action key

EDN to 'uri', converts edn string to map, extract :action key
sourceraw docstring

json->clj

(json-> j)

JSON to 'uri', converts json string to map, extract :action key

JSON to 'uri', converts json string to map, extract :action key
sourceraw docstring

probe->clj

(probe-> e)
source

routerclj

(router routes state)
(router routes
        msg->uri
        {{income-msg :income-msg fallback :fallback} :request-data :as state})

Router for webSockets. Parameters: routes: reitit routes msg->uri: function makes routing base from message. If missing tries to solve message as json, edn and string state: xiana state record

Router for webSockets.
Parameters:
  routes: reitit routes
  msg->uri: function makes routing base from message. If missing tries to solve message as json, edn and string
  state: xiana state record
sourceraw docstring

send!clj

source

string->clj

(string-> s)

String to 'uri', uses the first word as action key

String to 'uri', uses the first word as action key
sourceraw docstring

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

× close