Features
Docs
CLI
Benchmarks
Examples

© 2024 MoroJs

@morojs/moro


@morojs/moro / GrpcOptions

Interface: GrpcOptions

Defined in: src/core/grpc/types.ts:84

gRPC server options

Properties

adapter?

optional adapter: string

Defined in: src/core/grpc/types.ts:87


channelOptions?

optional channelOptions: Record<string, any>

Defined in: src/core/grpc/types.ts:100


compression?

optional compression: boolean

Defined in: src/core/grpc/types.ts:99


credentials?

optional credentials: GrpcCredentials

Defined in: src/core/grpc/types.ts:90


enableHealthCheck?

optional enableHealthCheck: boolean

Defined in: src/core/grpc/types.ts:92


enableReflection?

optional enableReflection: boolean

Defined in: src/core/grpc/types.ts:91


host?

optional host: string

Defined in: src/core/grpc/types.ts:86


keepalivePermitWithoutCalls?

optional keepalivePermitWithoutCalls: boolean

Defined in: src/core/grpc/types.ts:98


keepaliveTimeMs?

optional keepaliveTimeMs: number

Defined in: src/core/grpc/types.ts:96


keepaliveTimeoutMs?

optional keepaliveTimeoutMs: number

Defined in: src/core/grpc/types.ts:97


maxConcurrentCalls?

optional maxConcurrentCalls: number

Defined in: src/core/grpc/types.ts:95


maxReceiveMessageLength?

optional maxReceiveMessageLength: number

Defined in: src/core/grpc/types.ts:93


maxSendMessageLength?

optional maxSendMessageLength: number

Defined in: src/core/grpc/types.ts:94


port?

optional port: number

Defined in: src/core/grpc/types.ts:85


protoFiles?

optional protoFiles: string[]

Defined in: src/core/grpc/types.ts:89


protoPath?

optional protoPath: string

Defined in: src/core/grpc/types.ts:88