aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/client_channel/http_connect_handshaker.h
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-01-09 14:54:46 -0800
committerGravatar Mark D. Roth <roth@google.com>2017-01-09 14:54:46 -0800
commit49f02d3697ed109b514edc7e746088b8e5d7b819 (patch)
tree4a382ee1599b013ed0991c35e1b750a4af3302e3 /src/core/ext/client_channel/http_connect_handshaker.h
parent6cf58c81731343e0ffb134febd3e576425399e5e (diff)
Add support for sending custom headers in HTTP CONNECT request.
Diffstat (limited to 'src/core/ext/client_channel/http_connect_handshaker.h')
-rw-r--r--src/core/ext/client_channel/http_connect_handshaker.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/ext/client_channel/http_connect_handshaker.h b/src/core/ext/client_channel/http_connect_handshaker.h
index 56485f1373..c2e68de716 100644
--- a/src/core/ext/client_channel/http_connect_handshaker.h
+++ b/src/core/ext/client_channel/http_connect_handshaker.h
@@ -35,9 +35,12 @@
#define GRPC_CORE_EXT_CLIENT_CHANNEL_HTTP_CONNECT_HANDSHAKER_H
#include "src/core/lib/channel/handshaker.h"
+#include "src/core/lib/http/parser.h"
/// Creates a new HTTP CONNECT handshaker.
-grpc_handshaker* grpc_http_connect_handshaker_create(const char* proxy_server);
+grpc_handshaker* grpc_http_connect_handshaker_create(const char* proxy_server,
+ grpc_http_header* headers,
+ size_t num_headers);
/// Returns the name of the proxy to use, or NULL if no proxy is configured.
/// Caller takes ownership of result.