Loading...
Searching...
No Matches
Data Fields
imquic_configuration Struct Reference

A client/server configuration. More...

#include <configuration.h>

Data Fields

const char * name
 Name of the endpoint.
 
gboolean is_server
 Whether this is a server or a client.
 
const char * ip
 Interface or IP address to bind to.
 
uint16_t local_port
 Local port of the endpoint.
 
const char * remote_host
 Remote address to connect to (client-only)
 
uint16_t remote_port
 Remote port to connect to (client-only)
 
const char * sni
 SNI to force, if any (will use localhost otherwise)
 
const char * alpn
 ALPN to negotiate for raw QUIC.
 
gboolean raw_quic
 Whether raw QUIC should be offered.
 
gboolean webtransport
 Whether WebTransport should be offered.
 
const char * h3_path
 In case WebTransport is used, the HTTP/3 path to connect to (client-only)
 
const char * subprotocol
 In case WebTransport is used, the subprotocol to negotiate (currently unused)
 
const char * cert_pem
 Path to the certificate file to use for TLS.
 
const char * cert_key
 Path to the key file to use for TLS.
 
const char * cert_pwd
 Password needed to access the certificate for TLS, if any.
 
gboolean early_data
 Whether early data should be supported.
 
const char * ticket_file
 File to use for session tickets, when doing early data.
 
void * user_data
 Optional user data, to pass back when notifying new connections associated to this endpoint.
 

Detailed Description

A client/server configuration.

Field Documentation

◆ alpn

const char* imquic_configuration::alpn

ALPN to negotiate for raw QUIC.

◆ cert_key

const char* imquic_configuration::cert_key

Path to the key file to use for TLS.

◆ cert_pem

const char* imquic_configuration::cert_pem

Path to the certificate file to use for TLS.

◆ cert_pwd

const char* imquic_configuration::cert_pwd

Password needed to access the certificate for TLS, if any.

◆ early_data

gboolean imquic_configuration::early_data

Whether early data should be supported.

◆ h3_path

const char* imquic_configuration::h3_path

In case WebTransport is used, the HTTP/3 path to connect to (client-only)

◆ ip

const char* imquic_configuration::ip

Interface or IP address to bind to.

◆ is_server

gboolean imquic_configuration::is_server

Whether this is a server or a client.

◆ local_port

uint16_t imquic_configuration::local_port

Local port of the endpoint.

◆ name

const char* imquic_configuration::name

Name of the endpoint.

◆ raw_quic

gboolean imquic_configuration::raw_quic

Whether raw QUIC should be offered.

Note
In case both raw_quic and webtranport are set to FALSE the configuration will automatically default to raw QUIC only

◆ remote_host

const char* imquic_configuration::remote_host

Remote address to connect to (client-only)

◆ remote_port

uint16_t imquic_configuration::remote_port

Remote port to connect to (client-only)

◆ sni

const char* imquic_configuration::sni

SNI to force, if any (will use localhost otherwise)

◆ subprotocol

const char* imquic_configuration::subprotocol

In case WebTransport is used, the subprotocol to negotiate (currently unused)

◆ ticket_file

const char* imquic_configuration::ticket_file

File to use for session tickets, when doing early data.

◆ user_data

void* imquic_configuration::user_data

Optional user data, to pass back when notifying new connections associated to this endpoint.

◆ webtransport

gboolean imquic_configuration::webtransport

Whether WebTransport should be offered.


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