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.

@param out_ The created stream @param in An existing stream to add TLS to @param host The hostname that the stream is connected to, for certificate validation @return 0 or an error code

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

Meta