Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace VirtualDeploymentListener

Listener configuration for a virtual deployment.

Properties

Optional idleTimeoutInMs

idleTimeoutInMs: undefined | number

The maximum duration in milliseconds for which the request's stream may be idle. The value 0 (zero) indicates that the timeout is disabled. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

port

port: number

Port in which virtual deployment is running. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

protocol

protocol: Protocol

Type of protocol used in virtual deployment.

Optional requestTimeoutInMs

requestTimeoutInMs: undefined | number

The maximum duration in milliseconds for the deployed service to respond to an incoming request through the listener. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP/HTTP2 listeners, and disabled (no timeout) for the GRPC listeners. The value 0 (zero) indicates that the timeout is disabled. The timeout cannot be configured for the TCP and TLS_PASSTHROUGH listeners. For streaming responses from the deployed service, consider either keeping the timeout disabled or set a sufficiently high value. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj