git_stream_registration.wrap

Called to create a new connection on top of the given stream. If this is a TLS stream, then this function may be used to proxy a TLS stream over an HTTP CONNECT session. If this is unset, then HTTP CONNECT proxies will not be supported.

struct git_stream_registration
int function(.git_stream** out_, .git_stream* in_, const(char)* host) wrap;

Return Value

0 or an error code

Meta