A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
Loading...
Searching...
No Matches
a11::net::ChannelFramingOptions Struct Reference

Packetisation and incomplete-message bounds for a binary WireStream. More...

#include <cpp/a11/net/channel_wire_stream.h>

Public Member Functions

absl::Status Validate () const
 Validate the framing limits before a transport starts.
 

Public Attributes

size_t split_size = 64 * 1024
 Maximum encoded channel packet size.
 
size_t max_pending_messages = 64
 Incomplete inbound message limit.
 
size_t max_pending_bytes = 64 * 1024 * 1024
 Pending inbound byte limit.
 

Detailed Description

Packetisation and incomplete-message bounds for a binary WireStream.

Member Function Documentation

◆ Validate()

absl::Status a11::net::ChannelFramingOptions::Validate ( ) const

Validate the framing limits before a transport starts.

Member Data Documentation

◆ max_pending_bytes

size_t a11::net::ChannelFramingOptions::max_pending_bytes = 64 * 1024 * 1024

Pending inbound byte limit.

◆ max_pending_messages

size_t a11::net::ChannelFramingOptions::max_pending_messages = 64

Incomplete inbound message limit.

◆ split_size

size_t a11::net::ChannelFramingOptions::split_size = 64 * 1024

Maximum encoded channel packet size.


The documentation for this struct was generated from the following files: