?? type_ghttpserver.html
字號:
<html><head><title>Generated Documentation</title></head><body> <image src="headerimage.png"> <br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GHttpServer</b></big></big></big><br><br></td><td> This class allows you to implement a simple HTTP daemon</td></tr></table><br><br><big><big><i>Statics (public)</i></big></big><br><div style="margin-left: 40px;">void <big><b>ParseParams</b></big>(<a href="type_GStringHeap.html">GStringHeap</a>* pStringHeap, <a href="type_GConstStringHashTable.html">GConstStringHashTable</a>* pTable, const char* szParams)<br><div style="margin-left: 80px;"><font color=brown> Parses the parameters in a URL and puts them in a table</font></div><br>void <big><b>UnescapeUrl</b></big>(char* szOut, const char* szIn)<br><div style="margin-left: 80px;"><font color=brown> Unescapes a URL. (i.e. replace "%20" with " ", etc.)</font></div><br></div><br><big><big><i>Constructors (public)</i></big></big><br><div style="margin-left: 40px;"><big><b>GHttpServer</b></big>(int nPort)<br></div><br><big><big><i>Destructors</i></big></big><br><div style="margin-left: 40px;"><big><b>~GHttpServer</b></big>()<br></div><br><big><big><i>Abstracts</i></big></big><br><div style="margin-left: 40px;">void <big><b>DoGet</b></big>(const char* szUrl, const char* szParams, <a href="type_GQueue.html">GQueue</a>* pResponse)<br></div><br><big><big><i>Virtual (non-public)</i></big></big><br><div style="margin-left: 40px;">void <big><b>OnProcessLine</b></big>(int nConnection, const char* szLine)<br></div><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">bool <big><b>Process</b></big>()<br><div style="margin-left: 80px;"><font color=brown> You should call this method constantly inside the main loop. It returns true if it did anything, and false if it didn't, so if it returns false you may want to sleep for a little while.</font></div><br>void <big><b>SetContentType</b></big>(const char* szContentType)<br></div><br><big><big><i>Protected</i></big></big><br><div style="margin-left: 40px;">void <big><b>MakeResponse</b></big>(int nConnection, GHttpServerBuffer* pClient)<br>void <big><b>ProcessLine</b></big>(int nConnection, GHttpServerBuffer* pClient, const char* szLine)<br></div><br></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -