Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

_interfaces_.socket.md 2.2KB

rpclibraryGlobals“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