www.LinuxHowtos.org
NE_GET_STATUS
Section: neon API reference (3)Updated: 30 September 2016
Index Return to Main Contents
NAME
ne_get_status - retrieve HTTP response status for requestSYNOPSIS
#include <ne_request.h>
- const ne_status *ne_get_status(const ne_request *request);
DESCRIPTION
SEE ALSO
EXAMPLE
Display the response status code of applying the HEAD method to some resource.
-
ne_request *req = ne_request_create(sess, "HEAD", "/foo/bar"); if (ne_request_dispatch(req)) /* handle errors... */ else printf("Response status code was %d\n", ne_get_status(req)->code); ne_request_destroy(req);
AUTHOR
Joe Orton <neon@lists.manyfish.co.uk>
- Author.
COPYRIGHT