TsgcSTUNServer › Events

TsgcSTUNServer Events

Events you can handle, grouped by purpose, followed by the full alphabetical list.

Request lifecycle

NameDescription
OnSTUNRequestAuthorizationRaised when a Binding Request requires authentication; supply the password associated with the incoming Username/Realm.
OnSTUNRequestSuccessRaised before the server sends a successful Binding Response so the handler can inspect or veto the reply.
OnSTUNRequestErrorRaised before the server sends a STUN error response; allows the handler to inspect or suppress the reply.
OnSTUNExceptionRaised when an unhandled exception is caught while parsing or responding to a STUN message.

All Events (alphabetical)

NameDescription
OnSTUNExceptionRaised when an unhandled exception is caught while parsing or responding to a STUN message.
OnSTUNRequestAuthorizationRaised when a Binding Request requires authentication; supply the password associated with the incoming Username/Realm.
OnSTUNRequestErrorRaised before the server sends a STUN error response; allows the handler to inspect or suppress the reply.
OnSTUNRequestSuccessRaised before the server sends a successful Binding Response so the handler can inspect or veto the reply.