HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_WebMiddleware Class Reference

#include <NET_WebMiddleware.h>

Public Types

using RequestMiddleware = std::function< void(NET_HTTPRequest &)>
 
using ResponseMiddleware = std::function< void(NET_HTTPRequest &, NET_WebResponse &)>
 

Public Member Functions

void add (RequestMiddleware mw)
 
void add (ResponseMiddleware mw)
 
void processRequest (NET_HTTPRequest &req)
 
void processResponse (NET_HTTPRequest &req, NET_WebResponse &resp)
 

Detailed Description

Definition at line 26 of file NET_WebMiddleware.h.

Member Typedef Documentation

Definition at line 29 of file NET_WebMiddleware.h.

Definition at line 31 of file NET_WebMiddleware.h.

Member Function Documentation

void NET_WebMiddleware::add ( RequestMiddleware  mw)
inline

Definition at line 33 of file NET_WebMiddleware.h.

void NET_WebMiddleware::add ( ResponseMiddleware  mw)
inline

Definition at line 34 of file NET_WebMiddleware.h.

void NET_WebMiddleware::processRequest ( NET_HTTPRequest req)
void NET_WebMiddleware::processResponse ( NET_HTTPRequest req,
NET_WebResponse resp 
)

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