Ƭ Any: any
Defined in Types.ts:4
Ƭ Arg: string
Defined in Types.ts:5
Ƭ AsyncFunction: function
Defined in Types.ts:65
▸ (…args
: any): Promise‹any›
Parameters:
Name | Type |
---|---|
...args |
any |
Ƭ BaseInfo: object
Defined in Types.ts:43
Ƭ CallInfo: BaseInfo & object
Defined in Types.ts:54
Ƭ CallRPC: object | Function
Defined in Types.ts:36
Ƭ CallbackFunction: function
Defined in Types.ts:66
▸ (…args
: any): void
Parameters:
Name | Type |
---|---|
...args |
any |
Ƭ CloseHandler: function
Defined in Types.ts:10
▸ (socket
: Socket): void
Parameters:
Name | Type |
---|---|
socket |
Socket |
Ƭ ConnectionHandler: function
Defined in Types.ts:8
▸ (socket
: Socket): void
Parameters:
Name | Type |
---|---|
socket |
Socket |
Ƭ ErrorHandler: function
Defined in Types.ts:9
▸ (socket
: Socket, error
: any): void
Parameters:
Name | Type |
---|---|
socket |
Socket |
error |
any |
Ƭ ErrorResponse: Respose‹T› & object
Defined in Types.ts:24
Ƭ ExtendedRpcInfo: RpcInfo & object
Defined in Types.ts:60
Ƭ HookCloseFunction: function
Defined in Types.ts:63
▸ (res
: SubscriptionResponse‹T›, rpc
: HookRPC‹T›): any
Parameters:
Name | Type |
---|---|
res |
SubscriptionResponse‹T› |
rpc |
HookRPC‹T› |
Ƭ HookFunction: function
Defined in Types.ts:64
▸ (…args
: any): Promise‹SubscriptionResponse‹T› | ErrorResponse›
Parameters:
Name | Type |
---|---|
...args |
any |
Ƭ HookInfo: BaseInfo & object
Defined in Types.ts:49
Ƭ HookRPC: object
Defined in Types.ts:29
hook: HookFunction‹T›
name: Name
onCallback? : CallbackFunction
onClose? : HookCloseFunction‹T›
Ƭ Name: Arg
Defined in Types.ts:6
Ƭ OnFunction: function
Defined in Types.ts:62
▸ (type
: “error” | “close”, f
: function): Socket
Parameters:
▪ type: “error” | “close”
▪ f: function
▸ (e?
: any): void
Parameters:
Name | Type |
---|---|
e? |
any |
Ƭ Outcome: “Success” | “Error”
Defined in Types.ts:19
Ƭ Owner: Name
Defined in Types.ts:7
Defined in Types.ts:41
Ƭ RPCType: “Hook” | “Unhook” | “Call”
Defined in Types.ts:27
Ƭ ResponseType: “Subscribe” | “Success” | “Error”
Defined in Types.ts:18
Ƭ Respose: T & object
Defined in Types.ts:22
Ƭ RpcInfo: HookInfo | CallInfo
Defined in Types.ts:59
Ƭ SocketConf: object
Defined in Types.ts:11
closeHandler? : CloseHandler
connectionHandler? : ConnectionHandler
errorHandler? : ErrorHandler
visibility? : Visibility
Ƭ SubscriptionResponse: Respose‹T› & object
Defined in Types.ts:25
Ƭ SuccessResponse: Respose‹T› & object
Defined in Types.ts:23
Ƭ Visibility: “127.0.0.1” | “0.0.0.0”
Defined in Types.ts:3