NetBurner HTTP Web Server Header File. More...
#include <nettypes.h>
Go to the source code of this file.
Enumerations | |
enum | HTTP_RequestTypes { tUnknown, tGet, tPost, tHead } |
Functions | |
HTTP_ACCESS | CheckHttpAccess (int sock, int accessGroup, HTTP_Request &Req) |
All HTTP requests go though this function. More... | |
void | StartHttp (uint16_t port) |
Start the HTTP web server. Further documentation in the Initialization section Initialization - System Initialization Functions. More... | |
void | StopHttp () |
Stop the HTTP web server. More... | |
void | SendHTMLHeader (int sock) |
Send a HTML response header. More... | |
void | SendHTMLHeaderWCookie (int sock, char *cookie) |
Send a HTML response header and cookie. More... | |
void | SendTextHeader (int sock) |
Send a HTML plain text header. More... | |
void | SendGifHeader (int sock) |
Send a HTML GIF header. More... | |
void | RedirectResponse (int sock, PCSTR new_page) |
Redirect a HTTP request to a different page. More... | |
void | NotFoundResponse (int sock, PCSTR new_page) |
Send a page not found response. More... | |
void | ForbiddenResponse (int sock, PCSTR url) |
Send a page is forbidden response. More... | |
void | NotAvailableResponse (int sock, PCSTR url) |
Send a response indicating that the requested resource is not available at this time. More... | |
void | BadRequestResponse (int sock, PCSTR url, PCSTR data) |
Send a response indicating that the client request itself is faulty in some manner. More... | |
int | writeallsafestring (int fd, PCSTR str) |
Send a string and escape all special characters. More... | |
int | httpstricmp (PCSTR str1, PCSTR strIsUpper2) |
Special string compare. Returns 1 if the strings match until one string ends with a null (0). More... | |
NetBurner HTTP Web Server Header File.