|
Webserv
|
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"). | |
A simple data aggregate for the HTTP response status line.
| http::ResponseStartLine::ResponseStartLine | ( | ) |
| std::string http::ResponseStartLine::protocol |
The HTTP protocol version (e.g., "HTTP/1.1").
| std::string http::ResponseStartLine::reasonPhrase |
The human-readable reason (e.g., "OK", "Not Found").
| HttpStatus http::ResponseStartLine::statusCode |
The numerical status code (e.g., 200, 404).