rpclibrary › “Interfaces” › Socket
↳ Socket
• call: function
Defined in Interfaces.ts:13
▸ (rpcname
: T.Name, …args
: T.Any[]): Promise‹T.Any›
Parameters:
Name | Type |
---|---|
rpcname |
T.Name |
...args |
T.Any[] |
• fire: function
Defined in Interfaces.ts:14
▸ (rpcname
: T.Name, …args
: T.Any[]): Promise‹T.Any›
Parameters:
Name | Type |
---|---|
rpcname |
T.Name |
...args |
T.Any[] |
• hook: function
Defined in Interfaces.ts:11
▸ (rpcname
: T.Name, handler
: function): Socket
Parameters:
▪ rpcname: T.Name
▪ handler: function
▸ (…args
: any[]): any | Promise‹any›
Parameters:
Name | Type |
---|---|
...args |
any[] |
• on: T.OnFunction
Defined in Interfaces.ts:15
• port: number
Defined in Interfaces.ts:10
• unhook: function
Defined in Interfaces.ts:12
▸ (rpcname
: T.Name): Socket
Parameters:
Name | Type |
---|---|
rpcname |
T.Name |
▸ close(): void
Defined in Interfaces.ts:16
Returns: void
▸ destroy(): void
Inherited from Destroyable.destroy
Defined in Interfaces.ts:20
Returns: void