A client/server configuration.  
 More...
#include <configuration.h>
 | 
| 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 *  | qlog_path | 
|   | Path to save QLOG files to, if needed/supported: a filename for clients, a folder for servers.  
  | 
|   | 
| gboolean  | qlog_sequential | 
|   | Whether sequential JSON should be used for the QLOG file, instead of regular JSON  
  
  | 
|   | 
| gboolean  | qlog_quic | 
|   | Whether QUIC and/or HTTP/3 and/or RoQ and/or MoQT events should be saved to QLOG, if supported.  
  | 
|   | 
| gboolean  | qlog_http3 | 
|   | 
| gboolean  | qlog_roq | 
|   | 
| gboolean  | qlog_moq | 
|   | 
| 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. 
 
◆ 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 | 
        
      
 
 
◆ qlog_http3
      
        
          | gboolean imquic_configuration::qlog_http3 | 
        
      
 
 
◆ qlog_moq
      
        
          | gboolean imquic_configuration::qlog_moq | 
        
      
 
 
◆ qlog_path
      
        
          | const char* imquic_configuration::qlog_path | 
        
      
 
Path to save QLOG files to, if needed/supported: a filename for clients, a folder for servers. 
 
 
◆ qlog_quic
      
        
          | gboolean imquic_configuration::qlog_quic | 
        
      
 
Whether QUIC and/or HTTP/3 and/or RoQ and/or MoQT events should be saved to QLOG, if supported. 
 
 
◆ qlog_roq
      
        
          | gboolean imquic_configuration::qlog_roq | 
        
      
 
 
◆ qlog_sequential
      
        
          | gboolean imquic_configuration::qlog_sequential | 
        
      
 
Whether sequential JSON should be used for the QLOG file, instead of regular JSON 
 
 
 
◆ 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: