libgit2.sys.stream

Members

Aliases

git_stream_cb
deprecated alias git_stream_cb = int function(.git_stream** out_, const(char)* host, const(char)* port)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

GIT_STREAM_STANDARD
anonymousenum GIT_STREAM_STANDARD
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
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

License

GPL-2.0(Linking Exception)