nHttpServer Class Reference
#include <nhttpserver.h>
Inheritance diagram for nHttpServer:

Detailed Description
A Nebula2 server object which implements a simple Http client (confusing I know ;).(C) 2004 RadonLabs GmbH
Definition at line 19 of file nhttpserver.h.
Public Member Functions | |
| nHttpServer () | |
| constructor | |
| virtual | ~nHttpServer () |
| destructor | |
| bool | Connect (const nString &serverName) |
| open a http connection | |
| void | Disconnect () |
| close the current http connection | |
| bool | IsConnected () const |
| return true if currently connected | |
| bool | Get (const nString &object, nString &result) |
| send a GET request to the server | |
| bool | Post (const nString &object, const nString &postData, nString &result) |
| send a POST request to the server | |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 13 of file nhttpserver_main.cc. |
|
|
destructor
Definition at line 21 of file nhttpserver_main.cc. |
Member Function Documentation
|
|
open a http connection
Definition at line 30 of file nhttpserver_main.cc. |
|
|
close the current http connection
Definition at line 54 of file nhttpserver_main.cc. |
|
|
return true if currently connected
Definition at line 68 of file nhttpserver_main.cc. |
|
||||||||||||
|
send a GET request to the server
Definition at line 81 of file nhttpserver_main.cc. |
|
||||||||||||||||
|
send a POST request to the server
Definition at line 96 of file nhttpserver_main.cc. |
The documentation for this class was generated from the following files: