Nexus HTTP/3
A QUIC and HTTP/3 library
Public Attributes | Related Functions | List of all members
nexus::quic::settings Struct Reference

quic transport settings used to initialize a client or server More...

#include <nexus/quic/settings.hpp>

Public Attributes

std::chrono::seconds handshake_timeout
 handshake timeout, resulting in connection_error::timed_out
 
std::chrono::seconds idle_timeout
 connection idle timeout, resulting in connection_error::timed_out
 
uint32_t max_streams_per_connection
 number of concurrent streams a peer is allowed to open per connection
 
uint32_t connection_flow_control_window
 amount of unread bytes a peer is allowed to send per connection
 
uint32_t incoming_stream_flow_control_window
 amount of unread bytes a peer is allowed to send on streams they initiate
 
uint32_t outgoing_stream_flow_control_window
 amount of unread bytes a peer is allowed to send on streams we initiate
 

Related Functions

(Note that these are not member functions.)

settings default_client_settings ()
 return default client settings
 
settings default_server_settings ()
 return default server settings
 
bool check_client_settings (const settings &s, std::string *message)
 check the validity of the client settings
 
bool check_server_settings (const settings &s, std::string *message)
 check the validity of the server settings
 

Detailed Description

quic transport settings used to initialize a client or server