httpclient: introduce a simple http implementation
Introduce a new http client implementation that can GET and POST to remote URLs. Consumers can use `git_http_client_init` to create a new client, `git_http_client_send_request` to send a request to the remote server and `git_http_client_read_response` to read the response. The http client implementation will perform the I/O with the remote server (http or https) but does not understand the git smart transfer protocol. This allows us to split the concerns of the http subtransport from the actual http implementation.
Showing
src/transports/httpclient.c
0 → 100644
src/transports/httpclient.h
0 → 100644
Please
register
or
sign in
to comment