Google Cloud Network Services V1 Client - Class BodySendMode (0.10.0)

Reference documentation and code samples for the Google Cloud Network Services V1 Client class BodySendMode.

The send mode for body processing.

Protobuf type google.cloud.networkservices.v1.BodySendMode

Namespace

Google \ Cloud \ NetworkServices \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

BODY_SEND_MODE_UNSPECIFIED

Value: 0

Default value. Do not use.

Generated from protobuf enum BODY_SEND_MODE_UNSPECIFIED = 0;

BODY_SEND_MODE_STREAMED

Value: 1

Calls to the extension are executed in the streamed mode. Subsequent chunks will be sent only after the previous chunks have been processed.

The content of the body chunks is sent one way to the extension. Extension may send modified chunks back. This is the default value if the processing mode is not specified.

Generated from protobuf enum BODY_SEND_MODE_STREAMED = 1;

BODY_SEND_MODE_FULL_DUPLEX_STREAMED

Value: 2

Calls are executed in the full duplex mode. Subsequent chunks will be sent for processing without waiting for the response for the previous chunk or for the response for REQUEST_HEADERS event.

Extension can freely modify or chunk the body contents. If the extension doesn't send the body contents back, the next extension in the chain or the upstream will receive an empty body.

Generated from protobuf enum BODY_SEND_MODE_FULL_DUPLEX_STREAMED = 2;