git_proxy_options

Options for connecting through a proxy

Note that not all types may be supported, depending on the platform and compilation options.

Members

Variables

certificate_check
libgit2_d.cert.git_transport_certificate_check_cb certificate_check;

If cert verification fails, this will be called to let the user make the final decision of whether to allow the connection to proceed. Returns 0 to allow the connection or a negative value to indicate an error.

credentials
libgit2_d.credential.git_credential_acquire_cb credentials;

This will be called if the remote host requires authentication in order to connect to it.

payload
void* payload;

Payload to be provided to the credentials and certificate check callbacks.

type
.git_proxy_t type;

The type of proxy to use, by URL, auto-detect.

url
const(char)* url;

The URL of the proxy.

version_
uint version_;
Undocumented in source.

Meta