onSocketLostConnection

From GTA Connected
Jump to navigation Jump to search

Event Server Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Not Cancellable

Available since Server 1.0.0

function(Event event, Socket socket)

The onSocketLostConnection event is invoked when a socket connection is dropped.

Parameters

1) Event event The event object for this event.
2) Socket socket The socket that lost connection.

Attributes

const This event cannot be cancelled.

Notes

There aren't any notes for this event.

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Server Related

OnSocketLostConnection
OnSocketNewConnection