SaltAPI  1.1
An API for the HTTPd / Zia by Salty Studio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Module::INetwork Class Referenceabstract

#include <INetwork.hpp>

Public Member Functions

virtual bool Start (HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl)=0
 
virtual bool OnRequest ()=0
 this function is called when a request is received More...
 
virtual bool Send (HTTP::Request *req, HTTP::Response *res, HTTP::ProcessingList *pl)=0
 

Detailed Description

Interface for network

Definition at line 20 of file INetwork.hpp.

Member Function Documentation

bool Module::INetwork::OnRequest ( )
pure virtual

this function is called when a request is received

Returns
bool Module::INetwork::Send ( HTTP::Request req,
HTTP::Response res,
HTTP::ProcessingList pl 
)
pure virtual
Parameters
reqthe request from the previous module
resthe response from the previous module
plthe processsingList from the previous module
Returns
bool Module::INetwork::Start ( HTTP::Request req,
HTTP::Response res,
HTTP::ProcessingList pl 
)
pure virtual
Parameters
reqthe default request from the core
resthe default response from the core
plthe default processsingList from the core
Returns

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