Webserv
Loading...
Searching...
No Matches
config::ClientMaxBodySize Class Reference

#include <ClientMaxBodySize.hpp>

Inheritance diagram for config::ClientMaxBodySize:
config::IDirective

Public Member Functions

void process (Block &b, ParsedDirectiveArgs const &args) const
 The primary logic for processing the directive's arguments.
std::string const & getName () const
 Gets the name of the directive.
Public Member Functions inherited from config::IDirective
virtual ~IDirective ()
 Virtual destructor.

Static Private Attributes

static const std::string name_ = "client_max_body_size"

Member Function Documentation

◆ getName()

std::string const & config::ClientMaxBodySize::getName ( ) const
inlinevirtual

Gets the name of the directive.

Returns
A constant reference to the directive's name (e.g., "listen").

Implements config::IDirective.

◆ process()

void config::ClientMaxBodySize::process ( Block & block,
ParsedDirectiveArgs const & args ) const
virtual

The primary logic for processing the directive's arguments.

Parameters
blockThe configuration block (ServerBlock or LocationBlock) to modify.
argsThe vector of string arguments for the directive.

Implements config::IDirective.

Member Data Documentation

◆ name_

const std::string config::ClientMaxBodySize::name_ = "client_max_body_size"
staticprivate

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