Missing docstring for ChannelNotFoundException
. Check Documenter's build log for details.
Missing docstring for ChannelClient
. Check Documenter's build log for details.
Genie.WebChannels.ChannelClientsCollection
— TypeDict([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
Keys are allowed to be mutable, but if you do mutate stored keys, the hash table may become internally inconsistent, in which case the Dict
will not work properly. IdDict
can be an alternative if you need to mutate keys.
Genie.WebChannels.ChannelSubscriptionsCollection
— TypeDict([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
Keys are allowed to be mutable, but if you do mutate stored keys, the hash table may become internally inconsistent, in which case the Dict
will not work properly. IdDict
can be an alternative if you need to mutate keys.
Missing docstring for MessagePayload
. Check Documenter's build log for details.
Missing docstring for ChannelMessage
. Check Documenter's build log for details.
Missing docstring for CLIENTS
. Check Documenter's build log for details.
Missing docstring for SUBSCRIPTIONS
. Check Documenter's build log for details.
Missing docstring for clients
. Check Documenter's build log for details.
Missing docstring for subscriptions
. Check Documenter's build log for details.
Missing docstring for websockets
. Check Documenter's build log for details.
Missing docstring for channels
. Check Documenter's build log for details.
Missing docstring for connected_clients
. Check Documenter's build log for details.
Missing docstring for disconnected_clients
. Check Documenter's build log for details.
Genie.WebChannels.subscribe
— FunctionSubscribes a web socket client ws
to channel
.
Genie.WebChannels.unsubscribe
— FunctionUnsubscribes a web socket client ws
from channel
.
Genie.WebChannels.unsubscribe_client
— FunctionUnsubscribes a web socket client ws
from all the channels.
Genie.WebChannels.unsubscribe_disconnected_clients
— Functionunsubscribedisconnectedclients() :: ChannelClientsCollection
Unsubscribes clients which are no longer connected.
Genie.WebChannels.push_subscription
— FunctionAdds a new subscription for client
to channel
.
Genie.WebChannels.pop_subscription
— FunctionRemoves the subscription of client
to channel
.
Removes all subscriptions of client
.
Genie.WebChannels.broadcast
— FunctionPushes msg
(and payload
) to all the clients subscribed to the channels in channels
, with the exception of except
.
Pushes msg
(and payload
) to all the clients subscribed to the channels in channels
, with the exception of except
.
Genie.WebChannels.message
— FunctionWrites msg
to web socket for client
.