Class: SocketSubscription

SocketSubscription(setup, connection)

Represents a subscription in a socket connection.

Constructor

new SocketSubscription(setup, connection)

Creates an instance of SocketSubscription.

Parameters:
Name Type Description
setup Object

Configuration options for the subscription.

connection Object

The socket connection associated with the subscription.

Source:

Members

connection :Object

The socket connection associated with the subscription.

Type:
  • Object
Source:

socket

Gets the socket object associated with the subscription.

Source: