mirror of
https://github.com/grpc/grpc-node.git
synced 2026-02-01 14:54:35 +00:00
32 lines
718 B
TypeScript
32 lines
718 B
TypeScript
// Original file: proto/grpc/testing/messages.proto
|
|
|
|
import { PayloadType as _grpc_testing_PayloadType } from '../../grpc/testing/PayloadType';
|
|
|
|
/**
|
|
* A block of data, to simply increase gRPC message size.
|
|
*/
|
|
export interface Payload {
|
|
/**
|
|
* The type of data in body.
|
|
*/
|
|
'type'?: (_grpc_testing_PayloadType | keyof typeof _grpc_testing_PayloadType);
|
|
/**
|
|
* Primary contents of payload.
|
|
*/
|
|
'body'?: (Buffer | Uint8Array | string);
|
|
}
|
|
|
|
/**
|
|
* A block of data, to simply increase gRPC message size.
|
|
*/
|
|
export interface Payload__Output {
|
|
/**
|
|
* The type of data in body.
|
|
*/
|
|
'type': (keyof typeof _grpc_testing_PayloadType);
|
|
/**
|
|
* Primary contents of payload.
|
|
*/
|
|
'body': (Buffer);
|
|
}
|