📄 websformdefine.htm
字号:
<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 "webs.h"
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -