UNPKG

843 BTypeScriptView Raw
1/// <reference types="node" />
2import { type Parameter } from './data-type';
3import { type InternalConnectionOptions } from './connection';
4import { Collation } from './collation';
5declare class RpcRequestPayload implements Iterable<Buffer> {
6 procedure: string | number;
7 parameters: Parameter[];
8 options: InternalConnectionOptions;
9 txnDescriptor: Buffer;
10 collation: Collation | undefined;
11 constructor(procedure: string | number, parameters: Parameter[], txnDescriptor: Buffer, options: InternalConnectionOptions, collation: Collation | undefined);
12 [Symbol.iterator](): Generator<Buffer, void, unknown>;
13 generateData(): Generator<Buffer, void, unknown>;
14 toString(indent?: string): string;
15 generateParameterData(parameter: Parameter): Generator<Buffer, void, unknown>;
16}
17export default RpcRequestPayload;