NetBurner 3.5.6
PDF Version
CallBackFunctionPostHandler Class Reference

Implements the HtmlPostHandler class as a function pointer callback for POST requests. More...

#include <httppost.h>

Inherits HtmlPostHandler.

Public Member Functions

virtual int ProcessRaw (int sock, HTTP_Request &pdt)
 Pure virtual method that must be implemented to process HTTP requests.
 

Detailed Description

Implements the HtmlPostHandler class as a function pointer callback for POST requests.

Member Function Documentation

◆ ProcessRaw()

virtual int CallBackFunctionPostHandler::ProcessRaw ( int sock,
HTTP_Request & pd )
inlinevirtual

Pure virtual method that must be implemented to process HTTP requests.

This method is called when a matching request is received and must contain the actual request processing logic. Implementations should read request data, perform necessary processing, and send appropriate HTTP responses.

Parameters
sockSocket file descriptor for the client connection
pdHTTP request object containing parsed request details (headers, URL, method, body data, etc.)
Returns
Non-zero if the request was successfully processed and a response was sent, or 0 if the request was not processed (allows fallback to other handlers)

Implements HtmlPageHandler.


The documentation for this class was generated from the following file: