diff options
author | Johan Sternerup <johast@axis.com> | 2020-09-25 17:14:52 +0200 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@ocrete.ca> | 2022-05-26 11:43:45 -0400 |
commit | e0a455b457935e044adeff453e4c923fe79a6b09 (patch) | |
tree | 4f2d11aa49f49c23db51f9edd4cc10d012980be4 /agent/agent-priv.h | |
parent | 028c4098771b3584f1fb0845562282c91b40e57a (diff) | |
download | libnice-e0a455b457935e044adeff453e4c923fe79a6b09.tar.gz |
agent: Support adding optional headers to HTTP proxy client
One use case for this is adding an ALPN header which is a MUST
requirement when a HTTP proxy is used in WebRTC (see RFC8835, section
3.4).
Diffstat (limited to 'agent/agent-priv.h')
-rw-r--r-- | agent/agent-priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/agent-priv.h b/agent/agent-priv.h index 1d8b683..35ae5ab 100644 --- a/agent/agent-priv.h +++ b/agent/agent-priv.h @@ -140,6 +140,7 @@ struct _NiceAgent NiceProxyType proxy_type; /* property: Proxy type */ gchar *proxy_username; /* property: Proxy username */ gchar *proxy_password; /* property: Proxy password */ + GHashTable *proxy_extra_headers;/* property: Proxy extra headers */ gboolean saved_controlling_mode;/* property: controlling-mode */ guint timer_ta; /* property: timer Ta */ guint max_conn_checks; /* property: max connectivity checks */ |