👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

RedHat 9 (Linux i386) - man page for ne_get_status (redhat section 3)

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 persists until the associated  request  is  de-
       stroyed.

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\n", 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)


All times are GMT -4. The time now is 10:25 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?