Opens a connection to a remote.
The transport is selected based on the URL. The direction argument is due to a limitation of the git protocol (over TCP or SSH) which starts up a specific binary which can only do the one or the other.
this |
a Remote. |
direction |
whether you want to receive or send data. |
callbacks |
the callbacks to use for this connection. |
proxy_options |
the proxy options. |
custom_headers |
extra HTTP headers to use in this connection. |