Docs
API
Interfaces
GrpcHandler

Interface: GrpcHandler

types/src.YamlConfig.GrpcHandler

Handler for gRPC and Protobuf schemas

Table of contents

Properties

Properties

credentialsSsl

Optional credentialsSsl: GrpcCredentialsSsl

Defined in

packages/types/src/config.ts:307


descriptorSetFilePath

Optional descriptorSetFilePath: string | ProtoFilePath

Use a binary-encoded or JSON file descriptor set file (Any of: ProtoFilePath, String)

Defined in

packages/types/src/config.ts:301


endpoint

endpoint: string

gRPC Endpoint

Defined in

packages/types/src/config.ts:293


metaData

Optional metaData: Object

MetaData

Index signature

▪ [k: string]: any

Defined in

packages/types/src/config.ts:315


prefixQueryMethod

Optional prefixQueryMethod: string[]

prefix to collect Query method default: list, get

Defined in

packages/types/src/config.ts:325


protoFilePath

Optional protoFilePath: string | ProtoFilePath

gRPC Proto file that contains your protobuf schema (Any of: ProtoFilePath, String)

Defined in

packages/types/src/config.ts:297


requestTimeout

Optional requestTimeout: number

Request timeout in milliseconds Default: 200000

Defined in

packages/types/src/config.ts:306


useHTTPS

Optional useHTTPS: boolean

Use https instead of http for gRPC connection

Defined in

packages/types/src/config.ts:311


useReflection

Optional useReflection: boolean

Use gRPC reflection to automatically gather the connection

Defined in

packages/types/src/config.ts:321