Per-message write options.
More...
#include <call_op_set.h>
Per-message write options.
Definition at line 81 of file call_op_set.h.
◆ WriteOptions()
grpc::WriteOptions::WriteOptions |
( |
| ) |
|
|
inline |
◆ Clear()
void grpc::WriteOptions::Clear |
( |
| ) |
|
|
inline |
◆ clear_buffer_hint()
◆ clear_corked()
◆ clear_last_message()
Clears flag indicating that this is the last message in a stream, disabling coalescing.
Definition at line 165 of file call_op_set.h.
◆ clear_no_compression()
◆ clear_write_through()
◆ ClearBit()
◆ flags()
uint32_t grpc::WriteOptions::flags |
( |
| ) |
const |
|
inline |
◆ get_buffer_hint()
bool grpc::WriteOptions::get_buffer_hint |
( |
| ) |
const |
|
inline |
◆ get_no_compression()
bool grpc::WriteOptions::get_no_compression |
( |
| ) |
const |
|
inline |
◆ GetBit()
◆ is_corked()
bool grpc::WriteOptions::is_corked |
( |
| ) |
const |
|
inline |
◆ is_last_message()
bool grpc::WriteOptions::is_last_message |
( |
| ) |
const |
|
inline |
Get value for the flag indicating that this is the last message, and should be coalesced with trailing metadata.
- See also
- GRPC_WRITE_LAST_MESSAGE
Definition at line 174 of file call_op_set.h.
◆ is_write_through()
bool grpc::WriteOptions::is_write_through |
( |
| ) |
const |
|
inline |
◆ set_buffer_hint()
◆ set_corked()
corked bit: aliases set_buffer_hint currently, with the intent that set_buffer_hint will be removed in the future
Definition at line 141 of file call_op_set.h.
◆ 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)
Definition at line 158 of file call_op_set.h.
◆ set_no_compression()
◆ 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).
Definition at line 178 of file call_op_set.h.
◆ SetBit()
◆ flags_
◆ last_message_
bool grpc::WriteOptions::last_message_ |
|
private |
The documentation for this class was generated from the following file: