Genie.WebChannels.ChannelClientsCollection - Type
Dict([itr])

Dict{K,V}() constructs a hash table with keys of type K and values of type V. Keys are compared with isequal and hashed with hash.

Given a single iterable argument, constructs a Dict whose key-value pairs are taken from 2-tuples (key,value) generated by the argument.

Examples

julia> Dict([("A", 1), ("B", 2)])
Dict{String, Int64} with 2 entries:
  "B" => 2
  "A" => 1

Alternatively, a sequence of pair arguments may be passed.

julia> Dict("A"=>1, "B"=>2)
Dict{String, Int64} with 2 entries:
  "B" => 2
  "A" => 1

source


Genie.WebChannels.ChannelSubscriptionsCollection - Type
Dict([itr])

Dict{K,V}() constructs a hash table with keys of type K and values of type V. Keys are compared with isequal and hashed with hash.

Given a single iterable argument, constructs a Dict whose key-value pairs are taken from 2-tuples (key,value) generated by the argument.

Examples

julia> Dict([("A", 1), ("B", 2)])
Dict{String, Int64} with 2 entries:
  "B" => 2
  "A" => 1

Alternatively, a sequence of pair arguments may be passed.

julia> Dict("A"=>1, "B"=>2)
Dict{String, Int64} with 2 entries:
  "B" => 2
  "A" => 1

source


Genie.WebChannels.subscribe - Function

Subscribes a web socket client ws to channel.

source


Genie.WebChannels.unsubscribe - Function

Unsubscribes a web socket client ws from channel.

source


Genie.WebChannels.unsubscribe_client - Function

Unsubscribes a web socket client ws from all the channels.

source


Genie.WebChannels.unsubscribe_disconnected_clients - Function

unsubscribe_disconnected_clients() :: ChannelClientsCollection

Unsubscribes clients which are no longer connected.

source


Genie.WebChannels.push_subscription - Function

Adds a new subscription for client to channel.

source


Genie.WebChannels.pop_subscription - Function

Removes the subscription of client to channel.

source

Removes all subscriptions of client.

source


Genie.WebChannels.broadcast - Function

Pushes msg (and payload) to all the clients subscribed to the channels in channels, with the exception of except.

source

Pushes msg (and payload) to all the clients subscribed to the channels in channels, with the exception of except.

source


Genie.WebChannels.message - Function

Writes msg to web socket for client.

source



Genie