Skip to main content

types_src.yamlconfig.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:278


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:262


endpoint#

endpoint: string

gRPC Endpoint

Defined in: packages/types/src/config.ts:254


metaData#

Optional metaData: object

MetaData

Type declaration:#

Defined in: packages/types/src/config.ts:286


packageName#

Optional packageName: string

Your base package name Used for naming only

Defined in: packages/types/src/config.ts:272


protoFilePath#

Optional protoFilePath: string | ProtoFilePath

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

Defined in: packages/types/src/config.ts:258


requestTimeout#

Optional requestTimeout: number

Request timeout in milliseconds Default: 200000

Defined in: packages/types/src/config.ts:277


serviceName#

Optional serviceName: string

Your base service name Used for naming only

Defined in: packages/types/src/config.ts:267


useHTTPS#

Optional useHTTPS: boolean

Use https instead of http for gRPC connection

Defined in: packages/types/src/config.ts:282


useReflection#

Optional useReflection: boolean

Use gRPC reflection to automatically gather the connection

Defined in: packages/types/src/config.ts:292