ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
quic_config_t Struct Reference

#include <include/ascii-chat/network/quic/quic.h>

Data Fields

const char * alpn
const char * certificate_file
const char * private_key_file
const char * ca_file
const char * webtransport_origin
const char * webtransport_path
bool enable_datagrams
bool accept_native
bool prefer_visual_datagrams
bool prefer_audio_datagrams
bool enable_http3
http_server_t * http_server

Detailed Description

Definition at line 13 of file quic.h.

Field Documentation

◆ accept_native

bool quic_config_t::accept_native

Also accept acip/1 on a server WebTransport listener.

Definition at line 21 of file quic.h.

Referenced by quic_endpoint_open().

◆ alpn

const char* quic_config_t::alpn

NULL selects "acip/1".

Definition at line 14 of file quic.h.

Referenced by quic_endpoint_open().

◆ ca_file

const char* quic_config_t::ca_file

NULL selects system trust for clients.

Definition at line 17 of file quic.h.

Referenced by quic_endpoint_open().

◆ certificate_file

const char* quic_config_t::certificate_file

Required for listeners.

Definition at line 15 of file quic.h.

Referenced by quic_endpoint_open().

◆ enable_datagrams

bool quic_config_t::enable_datagrams

Definition at line 20 of file quic.h.

Referenced by quic_endpoint_open().

◆ enable_http3

bool quic_config_t::enable_http3

Enable generic HTTP/3 request streams on this endpoint.

Definition at line 24 of file quic.h.

Referenced by quic_endpoint_open().

◆ http_server

http_server_t* quic_config_t::http_server

Optional shared HTTP handler for generic HTTP/3 requests on this endpoint.

Definition at line 26 of file quic.h.

Referenced by quic_endpoint_open().

◆ prefer_audio_datagrams

bool quic_config_t::prefer_audio_datagrams

Send audio as datagrams when negotiated; otherwise use reliable streams.

Definition at line 23 of file quic.h.

Referenced by quic_endpoint_open().

◆ prefer_visual_datagrams

bool quic_config_t::prefer_visual_datagrams

Prefer negotiated visual datagrams.

Definition at line 22 of file quic.h.

Referenced by quic_endpoint_open().

◆ private_key_file

const char* quic_config_t::private_key_file

Required for listeners.

Definition at line 16 of file quic.h.

Referenced by quic_endpoint_open().

◆ webtransport_origin

const char* quic_config_t::webtransport_origin

Exact HTTPS origin; enables the server HTTP/3 listener.

Definition at line 18 of file quic.h.

Referenced by quic_endpoint_open().

◆ webtransport_path

const char* quic_config_t::webtransport_path

CONNECT path, required for WebTransport.

Definition at line 19 of file quic.h.

Referenced by quic_endpoint_open().


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