class WriteOptions

Defined at line 79 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

Per-message write options.

Public Methods

void WriteOptions ()

Defined at line 81 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

void Clear ()

Clear all flags.

Defined at line 84 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

uint32_t flags ()

Returns raw flags bitset.

Defined at line 87 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & set_no_compression ()

Sets flag for the disabling of compression for the next message write.

Defined at line 92 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & clear_no_compression ()

Clears flag for the disabling of compression for the next message write.

Defined at line 100 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

bool get_no_compression ()

Get value for the flag indicating whether compression for the next

message write is forcefully disabled.

Defined at line 109 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & set_buffer_hint ()

Sets flag indicating that the write may be buffered and need not go out on

the wire immediately.

Defined at line 117 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & clear_buffer_hint ()

Clears flag indicating that the write may be buffered and need not go out

on the wire immediately.

Defined at line 126 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

bool get_buffer_hint ()

Get value for the flag indicating that the write may be buffered and need

not go out on the wire immediately.

Defined at line 135 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & set_corked ()

corked bit: aliases set_buffer_hint currently, with the intent that

set_buffer_hint will be removed in the future

Defined at line 139 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & clear_corked ()

Defined at line 144 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

bool is_corked ()

Defined at line 149 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & set_last_message ()

last-message bit: indicates this is the last message in a stream

client-side: makes Write the equivalent of performing Write, WritesDone

in a single step

server-side: hold the Write until the service handler returns (sync api)

or until Finish is called (async api)

Defined at line 156 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & clear_last_message ()

Clears flag indicating that this is the last message in a stream,

disabling coalescing.

Defined at line 163 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

bool is_last_message ()

Get value for the flag indicating that this is the last message, and

should be coalesced with trailing metadata.

Defined at line 172 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & set_write_through ()

Guarantee that all bytes have been written to the socket before completing

this write (usually writes are completed when they pass flow control).

Defined at line 176 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

WriteOptions & clear_write_through ()

Defined at line 181 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h

bool is_write_through ()

Defined at line 186 of file ../../third_party/grpc/src/include/grpcpp/impl/call_op_set.h