X7ROOT File Manager
Current Path:
/usr/share/doc/neon-0.30.0/html
usr
/
share
/
doc
/
neon-0.30.0
/
html
/
π
..
π
api.html
(2.46 KB)
π
biblio.html
(4.59 KB)
π
compliance.html
(5.09 KB)
π
features.html
(4.59 KB)
π
index.html
(10.81 KB)
π
intro.html
(3.52 KB)
π
ref.html
(7.36 KB)
π
refalloc.html
(4.87 KB)
π
refauth.html
(5.84 KB)
π
refbuf.html
(3.46 KB)
π
refbufapp.html
(4.97 KB)
π
refbufcr.html
(3.24 KB)
π
refbufdest.html
(3.94 KB)
π
refbufutil.html
(3.84 KB)
π
refcert.html
(5.8 KB)
π
refclicert.html
(7.8 KB)
π
refconfig.html
(5.06 KB)
π
referr.html
(4.26 KB)
π
reffeat.html
(4.02 KB)
π
refgetst.html
(3.33 KB)
π
refi18n.html
(3.75 KB)
π
refiaddr.html
(8.93 KB)
π
refneon.html
(12.31 KB)
π
refopts.html
(6.22 KB)
π
refproxy.html
(9.04 KB)
π
refreq.html
(8.51 KB)
π
refreqbody.html
(4.27 KB)
π
refreqflags.html
(4.35 KB)
π
refreqhdr.html
(3.71 KB)
π
refresolve.html
(7.31 KB)
π
refresphdr.html
(5.13 KB)
π
refsess.html
(6.69 KB)
π
refsessflags.html
(5.13 KB)
π
refshave.html
(2.82 KB)
π
refsockinit.html
(6.57 KB)
π
refsslca.html
(3.89 KB)
π
refsslcert2.html
(3.01 KB)
π
refsslcertio.html
(5.48 KB)
π
refssldname.html
(3.78 KB)
π
refsslvfy.html
(7.1 KB)
π
refstatus.html
(4.17 KB)
π
reftok.html
(3.94 KB)
π
refvers.html
(3.3 KB)
π
refxml.html
(2.97 KB)
π
security.html
(6.81 KB)
π
using.html
(4.74 KB)
π
xml.html
(11.03 KB)
Editing: refgetst.html
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>ne_get_status</title><link rel="stylesheet" type="text/css" href="../manual.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="neon HTTP/WebDAV client library"><link rel="up" href="ref.html" title="neon API reference"><link rel="prev" href="referr.html" title="ne_get_error"><link rel="next" href="reffeat.html" title="ne_has_support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ne_get_status</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="referr.html">Prev</a>Β </td><th width="60%" align="center">neon API reference</th><td width="20%" align="right">Β <a accesskey="n" href="reffeat.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="refgetst"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>ne_get_status β retrieve HTTP response status for request</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include <ne_request.h></pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">const ne_status *<b class="fsfunc">ne_get_status</b>(</code></td><td>const ne_request *<var class="pdparam">request</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">Β </div></div></div><div class="refsect1"><a name="idm140368850876304"></a><h2>Description</h2><p>The <code class="function">ne_get_status</code> 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 <span class="emphasis"><em>successfully</em></span> dispatched (the return value of <code class="function">ne_request_dispatch</code> or <code class="function">ne_begin_request</code> was zero). The object remains valid until the associated request object is destroyed.</p></div><div class="refsect1"><a name="idm140368850820464"></a><h2>See also</h2><p><a class="xref" href="refstatus.html#ne_status">ne_status</a>, <a class="xref" href="refreq.html#ne_request_create">ne_request_create</a></p></div><div class="refsect1"><a name="idm140368850818576"></a><h2>Example</h2><p>Display the response status code of applying the <code class="literal">HEAD</code> method to some resource.</p><pre class="programlisting">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);</pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="referr.html">Prev</a>Β </td><td width="20%" align="center"><a accesskey="u" href="ref.html">Up</a></td><td width="40%" align="right">Β <a accesskey="n" href="reffeat.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ne_get_errorΒ </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">Β ne_has_support</td></tr></table></div></body></html>
Upload File
Create Folder