Options
All
  • Public
  • Public/Protected
  • All
Menu

Class default

Hierarchy

Constructors

Methods

Constructors

constructor

Methods

Abstract deserialize

  • deserialize(object: any, batch?: boolean): any
  • Deserializes an existing object to a message. This method verifies that the object conforms to the JSON-RPC 2.0 specification

    Parameters

    • object: any

      The object.

    • Optional batch: boolean

      Indicates if the message may be a batch request (array of messages).

    Returns any

Abstract serialize

  • serialize(object: any): string | Uint8Array
  • Serializes an object to either binary or a string.

    Parameters

    • object: any

      Object to be serialized.

    Returns string | Uint8Array

Generated using TypeDoc