redhat man page for ne_get_status

Query: ne_get_status

OS: redhat

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

NE_GET_STATUS(3)						neon API reference						  NE_GET_STATUS(3)

NAME
ne_get_status - retrieve HTTP response status for request
SYNOPSIS
#include <ne_request.h> const ne_status *ne_get_status (const ne_request *request);
DESCRIPTION
The ne_get_status function returns a pointer to the HTTP status object giving the result of a request (once dispatched). The object per- sists until the associated request is destroyed.
SEE ALSO
ne_get_status(3), ne_request_create(3)
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 ", ne_get_status(req)->code); ne_request_destroy(req);
AUTHOR
Joe Orton <neon@webdav.org>. neon 0.23.5 8 October 2002 NE_GET_STATUS(3)
Related Man Pages
ne_request_create(3) - opensolaris
ne_request_dispatch(3) - redhat
ne_request_create(3) - debian
ne_request_destroy(3) - debian
ne_request_destroy(3) - suse
Similar Topics in the Unix Linux Community
Create an unconfigured VMware host from a template that is set to do firstboot --reconfig
Shopt -s histappend
Issue with events occuring in DST window
[TIP] Processing YAML files with yq