⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ne_get_error.3

📁 linux subdivision ying gai ke yi le ba
💻 3
字号:
.\"Generated by db2man.xsl. Don't modify this, modify the source..de Sh \" Subsection.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Ip \" List item.br.ie \\n(.$>=3 .ne \\$3.el .ne 3.IP "\\$1" \\$2...TH "NE_GET_ERROR" 3 "5 July 2004" "neon 0.24.7" "neon API reference".SH NAMEne_get_error, ne_set_error \- error handling for HTTP sessions.SH "SYNOPSIS".ad l.hy 0#include <ne_session\&.h>.sp.HP 27const\ char\ *\fBne_get_error\fR\ (ne_sesssion\ *\fIsession\fR);.HP 19void\ \fBne_set_error\fR\ (ne_sesssion\ *\fIsession\fR, const\ char\ *\fIformat\fR, \&.\&.\&.);.ad.hy.SH "DESCRIPTION".PPThe session error string is used to store any human\-readable error information associated with any errors which occur whilst using the HTTP session\&..PPThe \fBne_get_error\fR function returns the current session error string\&. This string persists only until it is changed by a subsequent operation on the session\&..PPThe \fBne_set_error\fR function can be used to set a new session error string, using a \fBprintf\fR\-style format string interface\&..SH "EXAMPLES".PPRetrieve the current error string:.nfne_session *sess = ne_session_create(\&.\&.\&.);\&.\&.\&.printf("Error was: %s\\n", ne_get_error(sess));.fi.PPSet a new error string:.nfne_session *sess = ne_session_create(\&.\&.\&.);\&.\&.\&.ne_set_error(sess, "Response missing header %s", "somestring");.fi.SH AUTHORJoe Orton <neon@webdav\&.org>.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -