Interface Message<T>

This file contains the serialization and deserialization functions for the RPC protocol.

interface Message<T> {
    args: T;
    callbackIds?: string[];
    id: string;
    method: string;
    type: "request" | "response" | "callback";
}

Type Parameters

  • T = any

Properties

args: T
callbackIds?: string[]
id: string
method: string
type: "request" | "response" | "callback"