|
A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
|
Buffering, sizing, and deadline limits for a WireStream endpoint. More...
#include <cpp/a11/net/wire_stream.h>
Public Member Functions | |
| absl::Status | Validate () const |
| Validate the option values, returning a non-OK status if inconsistent. | |
Public Attributes | |
| size_t | max_buffered_incoming_messages = 100 |
| Maximum inbound messages buffered before backpressure is applied. | |
| size_t | max_single_message_size = kMaxSingleMessageSize |
| Reject any single reassembled message larger than this. | |
| size_t | max_buffered_incoming_bytes = 32 * 1024 * 1024 |
| Maximum total bytes of buffered inbound messages. | |
| absl::Duration | message_timeout = absl::InfiniteDuration() |
| Fail a message that cannot be delivered within this duration (infinite = no per-message timeout). | |
| absl::Time | deadline = absl::InfiniteFuture() |
| Absolute deadline after which the stream is aborted. | |
Buffering, sizing, and deadline limits for a WireStream endpoint.
These bound how much inbound data the stream will hold before applying backpressure or failing, and when it gives up. Concrete transports validate and apply them at construction.
| absl::Status a11::net::WireStreamOptions::Validate | ( | ) | const |
Validate the option values, returning a non-OK status if inconsistent.
| absl::Time a11::net::WireStreamOptions::deadline = absl::InfiniteFuture() |
Absolute deadline after which the stream is aborted.
| size_t a11::net::WireStreamOptions::max_buffered_incoming_bytes = 32 * 1024 * 1024 |
Maximum total bytes of buffered inbound messages.
| size_t a11::net::WireStreamOptions::max_buffered_incoming_messages = 100 |
Maximum inbound messages buffered before backpressure is applied.
| size_t a11::net::WireStreamOptions::max_single_message_size = kMaxSingleMessageSize |
Reject any single reassembled message larger than this.
| absl::Duration a11::net::WireStreamOptions::message_timeout = absl::InfiniteDuration() |
Fail a message that cannot be delivered within this duration (infinite = no per-message timeout).