# Network Services V1 API - Module Google::Cloud::NetworkServices::V1::BodySendMode (v2.10.1)

2.10.1 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.2.0 0.1.0 Reference documentation and code samples for the Network Services V1 API module Google::Cloud::NetworkServices::V1::BodySendMode.

The send mode for body processing.

## Constants

### BODY_SEND_MODE_UNSPECIFIED

**value:** 0  
Default value. Do not use.

### 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.

<br />

This is the default value if the processing mode is not specified.

### 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.


<br />

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.