Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

_interfaces_.socket.md 2.1KB

rpclibrary“Interfaces”Socket

Interface: Socket

Hierarchy

Socket

Implemented by

Index

Properties

Methods

Properties

call

call: function

Defined in Interfaces.ts:13

Type declaration:

▸ (rpcname: T.Name, …args: T.Any[]): Promise‹T.Any›

Parameters:

Name Type
rpcname T.Name
...args T.Any[]

fire

fire: function

Defined in Interfaces.ts:14

Type declaration:

▸ (rpcname: T.Name, …args: T.Any[]): Promise‹T.Any›

Parameters:

Name Type
rpcname T.Name
...args T.Any[]

hook

hook: function

Defined in Interfaces.ts:11

Type declaration:

▸ (rpcname: T.Name, handler: function): Socket

Parameters:

rpcname: T.Name

handler: function

▸ (…args: any[]): any | Promise‹any›

Parameters:

Name Type
...args any[]

on

on: T.OnFunction

Defined in Interfaces.ts:15


port

port: number

Defined in Interfaces.ts:10


unhook

unhook: function

Defined in Interfaces.ts:12

Type declaration:

▸ (rpcname: T.Name): Socket

Parameters:

Name Type
rpcname T.Name

Methods

close

close(): void

Defined in Interfaces.ts:16

Returns: void


destroy

destroy(): void

Inherited from Destroyable.destroy

Defined in Interfaces.ts:20

Returns: void