Genie.WebThreads.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" => 1Alternatively, a sequence of pair arguments may be passed.
julia> Dict("A"=>1, "B"=>2)
Dict{String, Int64} with 2 entries:
"B" => 2
"A" => 1Keys 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.WebThreads.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" => 1Alternatively, a sequence of pair arguments may be passed.
julia> Dict("A"=>1, "B"=>2)
Dict{String, Int64} with 2 entries:
"B" => 2
"A" => 1Keys 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.WebThreads.ClientId — TypeUInt64 <: Unsigned <: Integer64-bit unsigned integer type.
Printed in hexadecimal, thus 0x000000000000003f == 63.
Genie.WebThreads.ChannelName — TypeString <: AbstractStringThe default string type in Julia, used by e.g. string literals.
Strings are immutable sequences of Chars. A String is stored internally as a contiguous byte array, and while they are interpreted as being UTF-8 encoded, they can be composed of any byte sequence. Use isvalid to validate that the underlying byte sequence is valid as UTF-8.
Genie.WebThreads.broadcast — FunctionPushes msg (and payload) to all the clients subscribed to the channels in channels.
Pushes msg (and payload) to all the clients subscribed to all the channels.
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.WebThreads.message — FunctionPushes msg (and payload) to channel.
Writes msg to message queue for client.
Genie.WebThreads.pop_subscription — FunctionRemoves the subscription of client to channel.
Removes all subscriptions of client.
Genie.WebThreads.push_subscription — FunctionAdds a new subscription for client to channel.
Genie.WebThreads.subscribe — FunctionSubscribes a web thread client wt to channel.
Genie.WebThreads.unsubscribe — FunctionUnsubscribes a web socket client wt from channel.
Genie.WebThreads.unsubscribe_client — FunctionUnsubscribes a web socket client wt from all the channels.
Missing docstring for unsubscribe_clients. Check Documenter's build log for details.
Genie.WebThreads.unsubscribe_disconnected_clients — Functionunsubscribedisconnectedclients() :: ChannelClientsCollection
Unsubscribes clients which are no longer connected.