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

A simple data aggregate for the HTTP response status line. More...

#include <Response.hpp>

Public Member Functions

 ResponseStartLine ()

Public Attributes

std::string protocol
 The HTTP protocol version (e.g., "HTTP/1.1").
HttpStatus statusCode
 The numerical status code (e.g., 200, 404).
std::string reasonPhrase
 The human-readable reason (e.g., "OK", "Not Found").

Detailed Description

A simple data aggregate for the HTTP response status line.

Constructor & Destructor Documentation

◆ ResponseStartLine()

http::ResponseStartLine::ResponseStartLine ( )

Member Data Documentation

◆ protocol

std::string http::ResponseStartLine::protocol

The HTTP protocol version (e.g., "HTTP/1.1").

◆ reasonPhrase

std::string http::ResponseStartLine::reasonPhrase

The human-readable reason (e.g., "OK", "Not Found").

◆ statusCode

HttpStatus http::ResponseStartLine::statusCode

The numerical status code (e.g., 200, 404).


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