Open
Description
Hi,
Thank you for your wonderful library.
Now, I would like to know the correct specification.
Is it a specification that the socket session will be closed when the process starting with Start -> OnMessage ends? Looking at the code fragment below, it seems so. Is there a way to keep-alive the socket session from OnMessage?
connection = new WebSocketConnection(
clientSocket,
_config,
bytes => RequestParser.Parse(bytes, _scheme),
r => HandlerFactory.BuildHandler(r,
s => connection.OnMessage(s),
connection.Close,
Metadata
Assignees
Labels
No labels