mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-15 19:42:09 +02:00
Add User-Agent and additional headers to esp_websocket_client
Merges https://github.com/espressif/esp-idf/pull/4345 * Original commit: espressif/esp-idf@9200250f51
This commit is contained in:
@ -92,6 +92,8 @@ typedef struct {
|
||||
const char *cert_pem; /*!< SSL Certification, PEM format as string, if the client requires to verify server */
|
||||
esp_websocket_transport_t transport; /*!< Websocket transport type, see `esp_websocket_transport_t */
|
||||
char *subprotocol; /*!< Websocket subprotocol */
|
||||
char *user_agent; /*!< Websocket user-agent */
|
||||
char *headers; /*!< Websocket additional headers */
|
||||
} esp_websocket_client_config_t;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user