git_stream_registration

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Members

Variables

init
int function(.git_stream** out_, const(char)* host, const(char)* port) init;

Called to create a new connection to a given host.

version_
int version_;

The version field should be set to GIT_STREAM_VERSION.

wrap
int function(.git_stream** out_, .git_stream* in_, const(char)* host) 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.

Meta