Sends pw_protobuf requests and receives the final pw_protobuf response in a client streaming RPC on a client.
| Request | The generated pw_protobuf request message struct type. |
| Response | The generated pw_protobuf response message struct type. |
Public Member Functions | |
| constexpr | PwpbClientWriter ()=default |
Creates an inactive PwpbClientWriter into which an active call can be moved. | |
| PwpbClientWriter (PwpbClientWriter &&)=default | |
| PwpbClientWriter & | operator= (PwpbClientWriter &&)=default |
| Status | Write (const Request &request) |
Encodes and sends a streamed Request message to the server. | |
Friends | |
| class | internal::Call |
| class | internal::PwpbUnaryResponseClientCall< Response > |
|
inline |
Encodes and sends a streamed Request message to the server.
| [in] | request | The Request message struct to encode and send. |
pw_rpc was unable to encode the pw_protobuf message.ChannelOutput implementation if sending the packet failed.