Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void onBeginConnection()

Declaration

protected virtual void onBeginConnection()

Summary

When overridden in a derived class, handles an incoming WebSocket connection from a client.

Remarks

  • This method is called only once per instance, and it is called when the socket has switched from the HTTP handshake to the WebSocket protocol.
  • All exceptions thrown by your code are swallowed by default. Wrap your override in a try/catch in order to handle or log your exceptions.