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

Listen address and limits for a WebSocketSignallingServer. More...

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

Public Member Functions

absl::Status Validate () const
 

Public Attributes

std::string path_prefix
 Prefix before identity registration paths.
 
std::string bind_address = "127.0.0.1"
 Local listen address.
 
std::uint16_t port = 0
 Listen port; zero requests an ephemeral port.
 
Http2Options http2_options
 Server HTTP/2 and TLS policy.
 
size_t max_message_size = 1024 * 1024
 Inbound JSON message limit.
 

Detailed Description

Listen address and limits for a WebSocketSignallingServer.

A port of 0 requests an ephemeral port; http2_options carries transport and TLS settings, and max_message_size bounds inbound signalling frames.

Member Function Documentation

◆ Validate()

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

Member Data Documentation

◆ bind_address

std::string a11::net::WebSocketSignallingServerOptions::bind_address = "127.0.0.1"

Local listen address.

◆ http2_options

Http2Options a11::net::WebSocketSignallingServerOptions::http2_options

Server HTTP/2 and TLS policy.

◆ max_message_size

size_t a11::net::WebSocketSignallingServerOptions::max_message_size = 1024 * 1024

Inbound JSON message limit.

◆ path_prefix

std::string a11::net::WebSocketSignallingServerOptions::path_prefix
Initial value:
=
"/"

Prefix before identity registration paths.

◆ port

std::uint16_t a11::net::WebSocketSignallingServerOptions::port = 0

Listen port; zero requests an ephemeral port.


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