Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

connection: IJsonRpcConnection
events: EventEmitter

Methods

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

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

  • off(event: string, listener: any): void
  • Parameters

    • event: string
    • listener: any

    Returns void

  • on(event: string, listener: any): void
  • Parameters

    • event: string
    • listener: any

    Returns void

  • once(event: string, listener: any): void
  • Parameters

    • event: string
    • listener: any

    Returns void

  • removeListener(event: string, listener: any): void
  • Parameters

    • event: string
    • listener: any

    Returns void

  • request<Result, Params>(request: RequestArguments<Params>, context?: any): Promise<Result>
  • Type Parameters

    • Result = any

    • Params = any

    Parameters

    Returns Promise<Result>

  • requestStrict<Result, Params>(request: JsonRpcRequest<Params>, context?: any): Promise<Result>
  • Type Parameters

    • Result = any

    • Params = any

    Parameters

    Returns Promise<Result>

Generated using TypeDoc