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