Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Socket

Hierarchy

Implemented by

Index

Properties

Methods

Properties

call

call: function

Type declaration

    • (rpcname: T.Name, ...args: T.Any[]): Promise<T.Any>
    • Parameters

      • rpcname: T.Name
      • Rest ...args: T.Any[]

      Returns Promise<T.Any>

fire

fire: function

Type declaration

    • (rpcname: T.Name, ...args: T.Any[]): Promise<T.Any>
    • Parameters

      • rpcname: T.Name
      • Rest ...args: T.Any[]

      Returns Promise<T.Any>

hook

hook: function

Type declaration

    • (rpcname: T.Name, handler: function): Socket
    • Parameters

      • rpcname: T.Name
      • handler: function
          • (...args: any[]): any | Promise<any>
          • Parameters

            • Rest ...args: any[]

            Returns any | Promise<any>

      Returns Socket

on

on: T.OnFunction

port

port: number

unhook

unhook: function

Type declaration

    • Parameters

      • rpcname: T.Name

      Returns Socket

Methods

close

  • close(): void
  • Returns void

destroy

  • destroy(): void

Generated using TypeDoc