clj-wamp.server.core

add-client

(add-client channel-or-fn)
Adds a websocket channel (or callback function) to a map of clients
and returns a unique session id.

add-topic-prefix

(add-topic-prefix sess-id prefix uri)
Adds a new CURI topic prefix for a websocket client.

client-auth

client-channels

client-prefixes

close-channel

(close-channel sess-id)(close-channel sess-id code)

del-client

(del-client sess-id)
Removes a websocket session from the map of clients.

get-client-channel

(get-client-channel sess-id)
Returns the channel (or callback function) for a websocket client's
session id.

get-topic

(get-topic sess-id curi)
Returns the full topic URI for a prefix. If prefix does not exist,
returns the CURI passed in.

new-rand-id

(new-rand-id)

project-version

send!

(send! sess-id & data)
Sends data to a websocket client.