Delegate WebSocketMessageReceivedEventHandler
Represents the void that is called when the Web Socket receives an message.
public delegate void WebSocketMessageReceivedEventHandler(object? sender, WebSocketMessage message)
Parameters
sender
objectThe HttpWebSocket object which fired the event.
message
WebSocketMessageThe Web Socket message information.