Tell the git_transport about the custom_headers

This commit is contained in:
Matt Burke
2015-09-08 14:02:33 -04:00
parent 9da32a6255
commit 4f2b6093a6
10 changed files with 43 additions and 24 deletions
+5
View File
@@ -40,6 +40,11 @@ struct git_transport {
git_transport_certificate_check_cb certificate_check_cb,
void *payload);
/* Set custom headers for HTTP requests */
int (*set_custom_headers)(
git_transport *transport,
const git_strarray *custom_headers);
/* Connect the transport to the remote repository, using the given
* direction. */
int (*connect)(