Interface RpcMessageEncoder Methods notification notification( buf: WriteBuffer , method: string , args: any [] , id?: number ) : void Parameters method: string args: any [] Optional id: number Returns void reply Err reply Err( buf: WriteBuffer , requestId: number , err: any ) : void Parameters requestId: number err: any Returns void replyOK replyOK( buf: WriteBuffer , requestId: number , res: any ) : void Parameters requestId: number res: any Returns void request request( buf: WriteBuffer , requestId: number , method: string , args: any [] ) : void Parameters requestId: number method: string args: any [] Returns void Legend Namespace Variable Function Function with type parameter Type alias Type alias with type parameter Interface Interface with type parameter Method Class Class with type parameter Settings Theme OS Light Dark
A
RpcMessageEncoder
writes RpcMessage objects to a WriteBuffer. Note that it is up to clients to commit the message. This allows for multiple messages being encoded before sending.