class WriteOptions
Defined at line 80 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/call_op_set.h
Per-message write options.
Public Methods
void WriteOptions ()
Defined at line 82 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/call_op_set.h
void Clear ()
Clear all flags.
Defined at line 85 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/call_op_set.h
uint32_t flags ()
Returns raw flags bitset.
Defined at line 88 of file ../../third_party/grpc-migrating/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 93 of file ../../third_party/grpc-migrating/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 101 of file ../../third_party/grpc-migrating/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 110 of file ../../third_party/grpc-migrating/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 118 of file ../../third_party/grpc-migrating/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 127 of file ../../third_party/grpc-migrating/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 136 of file ../../third_party/grpc-migrating/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 140 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/call_op_set.h
WriteOptions & clear_corked ()
Defined at line 145 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/call_op_set.h
bool is_corked ()
Defined at line 150 of file ../../third_party/grpc-migrating/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 157 of file ../../third_party/grpc-migrating/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 164 of file ../../third_party/grpc-migrating/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 173 of file ../../third_party/grpc-migrating/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 177 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/call_op_set.h
WriteOptions & clear_write_through ()
Defined at line 182 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/call_op_set.h
bool is_write_through ()
Defined at line 187 of file ../../third_party/grpc-migrating/src/include/grpcpp/impl/call_op_set.h