Webserv
Loading...
Searching...
No Matches
http::CGIHandler Class Reference

Handles the execution of CGI scripts. More...

#include <Handler.hpp>

Inheritance diagram for http::CGIHandler:
http::IHandler

Private Member Functions

HttpResponse handle (HttpRequest const &, config::ServerBlock const *s=NULL, config::LocationBlock const *l=NULL) const
 The primary handler logic entry point.

Additional Inherited Members

Public Member Functions inherited from http::IHandler
virtual ~IHandler ()
HttpResponse handle (HttpRequest const &h, RouterResult const &r) const
 Convenience overload to handle a request using a RouterResult.

Detailed Description

Handles the execution of CGI scripts.

Member Function Documentation

◆ handle()

HttpResponse http::CGIHandler::handle ( HttpRequest const & ,
config::ServerBlock const * = NULL,
config::LocationBlock const * = NULL ) const
privatevirtual

The primary handler logic entry point.

Parameters
requestThe client's HTTP request.
serverThe matched server configuration context.
locationThe matched location configuration context.
Returns
An HttpResponse object representing the result of the handling.

Implements http::IHandler.


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