libgit2

git_remote_connect_options

Version:

Remote creation options structure

Initialize with GIT_REMOTE_CREATE_OPTIONS_INIT. Alternatively, you can use git_remote_create_options_init.

Signature

typedef struct git_remote_connect_options { unsigned int version git_remote_callbacks callbacks git_proxy_options proxy_opts git_remote_redirect_t follow_redirects git_strarray custom_headers };

Members

unsigned int
version
callbacks

Callbacks to use for this connection

proxy_opts

HTTP Proxy settings

follow_redirects

Whether to allow off-site redirects. If this is not specified, the http.followRedirects configuration setting will be consulted.

custom_headers

Extra HTTP headers to use in this connection

Parameter To

Versions