Record -
grpc
: ServiceEndpointConfiguration
Represents the gRPC server endpoint configuration.
Fields
- host string 0.0.0.0
-
The server hostname.
- keepAlive KeepAlive KEEPALIVE_AUTO
-
Can be set to either
KEEPALIVE_AUTO
, which respects theconnection
header, orKEEPALIVE_ALWAYS
, which always keeps the connection alive, orKEEPALIVE_NEVER
, which always closes the connection
- secureSocket ServiceSecureSocket? ()
-
The SSL configurations for the client endpoint.
- httpVersion string 2.0
-
HTTP version supported by the endpoint. This should be 2.0 as gRPC works only with HTTP/2.
- requestLimits RequestLimits? ()
-
Configures the parameters for request validation.
- timeoutMillis int DEFAULT_LISTENER_TIMEOUT
-
Period of time in milliseconds that a connection waits for a read/write operation. Use value 0 to disable timeout.
- maxPipelinedRequests int MAX_PIPELINED_REQUESTS
-
Defines the maximum number of requests that can be processed at a given time on a single connection. By default, 10 requests can be pipelined on a single connection and the user can change this limit appropriately. This will be applicable only for HTTP 1.1.