Class: Socket
A Unix or TCP/IP socket that can be mounted into a container.
Extends
BaseClient
Constructors
new Socket()
new Socket(
ctx
?,_id
?):Socket
Constructor is used for internal usage only, do not create object from it.
Parameters
ctx?
Context
_id?
Returns
Overrides
BaseClient.constructor
Methods
id()
id():
Promise
<SocketID
>
A unique identifier for this Socket.
Returns
Promise
<SocketID
>