Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

_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