libgit2

git_stream_set_proxy_cb

Version:

Set the proxy for the stream

Signature

typedef int git_stream_set_proxy_cb(git_stream *stream, const git_proxy_options *proxy_opts);

Parameters

In
stream

the stream to set the proxy for

In
proxy_opts

the proxy options

Returns

int

0 on success, or an error code

Versions