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

Client-side tuning for a WebSocketWireStream connection. More...

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

Public Member Functions

absl::Status Validate () const
 

Public Attributes

Http2Options http2_options
 HTTP/2 connection and TLS policy.
 
HttpHeaders headers
 Extra WebSocket handshake headers.
 
ChannelFramingOptions framing
 Packet splitting and reassembly bounds.
 

Detailed Description

Client-side tuning for a WebSocketWireStream connection.

Configures the underlying HTTP/2 transport (including TLS), extra HTTP headers sent on the WebSocket handshake, and the channel framing that governs message splitting and buffering.

Member Function Documentation

◆ Validate()

absl::Status a11::net::WebSocketClientOptions::Validate ( ) const
Returns
OK if the options are internally consistent.

Member Data Documentation

◆ framing

ChannelFramingOptions a11::net::WebSocketClientOptions::framing

Packet splitting and reassembly bounds.

◆ headers

HttpHeaders a11::net::WebSocketClientOptions::headers

Extra WebSocket handshake headers.

◆ http2_options

Http2Options a11::net::WebSocketClientOptions::http2_options

HTTP/2 connection and TLS policy.


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