SocketHub
Namespace:
Saturn
Parent:
Channels
A type that wraps access to connected websockets by endpoint
Name
|
Description
|
Constructors
|
new(serializer)
Signature:
serializer:IJsonSerializer -> SocketHub
|
|
Instance Members
|
x.ConnectSocketToPath path id socket
Signature:
path:ChannelPath -> id:SocketId -> socket:ThreadSafeWebSocket -> SocketId
|
|
x.DisconnectSocketForPath path socketId
Signature:
path:ChannelPath -> socketId:SocketId -> unit
|
|
x.NewPath(path)
Signature:
path:ChannelPath -> unit
|
|