Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links.
You can here alternatively try to browse
the pure source code or just view
the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.
ne_get_status — retrieve HTTP response status for request
const ne_status *ne_get_status(
|const ne_request *request|
ne_get_status function returns
a pointer to the HTTP status object giving the result of a request.
The object returned only becomes valid once the request has been
successfully dispatched (the return value of
ne_begin_request was zero). The object remains
valid until the associated request object is destroyed.
Display the response status code of applying the
HEAD method to some resource.
ne_request *req = ne_request_create(sess, "HEAD", "/foo/bar");
/* handle errors... */
printf("Response status code was %d\n", ne_get_status(req)->code);