danielsuo / libdocker

An SDK for the Docker Engine API in C
MIT License
59 stars 24 forks source link

Need a way to get HTTP response codes from request methods #15

Open ciaran2 opened 2 years ago

ciaran2 commented 2 years ago

The most obvious way would be to add an outparam to the request functions, e.g. CURLcode docker_get(DOCKER *client, char *url, long *http_code) but given that this is a breaking API change it's best if there's some agreement before someone does any development.