libgit2_d.sys.stream

Undocumented in source.

Members

Aliases

git_stream_cb
deprecated alias git_stream_cb = int function(.git_stream** out_, const(char)* host, const(char)* port)

@deprecated Provide a git_stream_registration to git_stream_register @see git_stream_registration

Enums

git_stream_t
enum git_stream_t

The type of stream to register.

Functions

git_stream_register
int git_stream_register(.git_stream_t type, .git_stream_registration* registration)

Register stream constructors for the library to use

git_stream_register_tls
deprecated int git_stream_register_tls(.git_stream_cb ctor)

Register a TLS stream constructor for the library to use. This stream will not support HTTP CONNECT proxies. This internally calls git_stream_register and is preserved for backward compatibility.

Manifest constants

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

Structs

git_stream
struct git_stream

Every stream must have this struct as its first element, so the API can talk to it. You'd define your stream as

git_stream_registration
struct 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.

Meta