websformdefine.htm

来自「goahead是linux下的轻量级web服务器」· HTM 代码 · 共 47 行

HTM
47 行
字号
<html>
<head>
<title>websFormDefine -- GoAhead WebServer API</title>
<link rel="stylesheet" href="../../style/doc.htm" type="text/css">
</head>

<body>
 
<TABLE border=0 width=100% cellspacing=0 cellpadding=0>
<TR>
	<TD class=title-left><b>websFormDefine</b></TD>
    <TD class=title-center><b> GoAhead WebServer API</b></TD>
    <TD class=title-right><B> GoAhead EMF</B></TD>
</TR>
</TABLE>

<HR>

<h2>Synopsis</h2>
<p>Return an error message to the requesting browser</p>

<h2>Prototype</h2>

<pre>
#include &quot;webs.h&quot; 

int <b>websFormDefine</b>(char_t *urlPrefix,   	    
    void (*formHandler)(webs_t wp, char_t *path, char_t *query));   	    
</pre>

<h2>Parameters</h2>
<p><table width=90%>
    <TR>
        <TD width=40>wp
        <TD>  Web server connection handle
    <TR>
        <TD width=40>urlPrefix
        <TD>URL prefix to use when matching URLs for 
            this handler
    <TR>
        <TD width=40>formHandler
        <TD>URL handler procedure</TD>   </TR></table></p>

<h2>Description</h2>

<P>The websFormDefine procedure is used to create a 
<A href="goforms.htm">GoForm</A>

⌨️ 快捷键说明

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