Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Protocol

Protocol interface

Hierarchy

  • Protocol

Index

Properties

Properties

close

close: () => Promise<void>

Close connection

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

encode

encode: (command: CommandType, args: Partial<EncodeArgs>) => { data: any; id: string }

Encode message

Type declaration

init

init: () => Promise<InitResult>

Initialize protocol

Type declaration

send

send: (__namedParameters: { any: any }) => void

Send message

Type declaration

    • (__namedParameters: { any: any }): void
    • Parameters

      • __namedParameters: { any: any }
        • any: any

      Returns void

Generated using TypeDoc