LibQuicR
quicr::ServerConfig Struct Reference

Configuration for a listening server transport. More...

#include <config.h>

Inheritance diagram for quicr::ServerConfig:
quicr::Config

Public Attributes

std::string server_bind_ip
 Local IPv4/IPv6 address; empty binds to the wildcard address. More...
 
uint16_t server_port
 Local UDP port on which to listen. More...
 
std::uint64_t tick_service_sleep_delay_us { 333 }
 Default tick-service sleep delay in microseconds. More...
 
std::string endpoint_id
 Endpoint identifier advertised in SETUP; should identify this endpoint uniquely. More...
 
quicr::TransportConfig transport_config
 Underlying QUIC transport configuration. More...
 
uint32_t unknown_stream_expiry_ms { 3000 }
 Time to retain an unclassified stream, in milliseconds. More...
 

Detailed Description

Configuration for a listening server transport.

Member Data Documentation

◆ endpoint_id

std::string quicr::Config::endpoint_id
inherited

Endpoint identifier advertised in SETUP; should identify this endpoint uniquely.

◆ server_bind_ip

std::string quicr::ServerConfig::server_bind_ip

Local IPv4/IPv6 address; empty binds to the wildcard address.

◆ server_port

uint16_t quicr::ServerConfig::server_port

Local UDP port on which to listen.

◆ tick_service_sleep_delay_us

std::uint64_t quicr::ServerConfig::tick_service_sleep_delay_us { 333 }

Default tick-service sleep delay in microseconds.

◆ transport_config

quicr::TransportConfig quicr::Config::transport_config
inherited

Underlying QUIC transport configuration.

Examples
simple_publish/main.cpp, and simple_subscribe/main.cpp.

◆ unknown_stream_expiry_ms

uint32_t quicr::Config::unknown_stream_expiry_ms { 3000 }
inherited

Time to retain an unclassified stream, in milliseconds.


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