Webserv
Loading...
Searching...
No Matches
HttpResponse.hpp File Reference
#include <vector>
#include <map>
#include <string>
#include <ostream>
#include "HttpStatus.hpp"

Go to the source code of this file.

Classes

class  http::HttpResponse
 A data container for an HTTP response. More...

Namespaces

namespace  http

Typedefs

typedef std::map< std::string, std::string > http::HeaderMap

Enumerations

enum  http::BodySourceType { http::BODY_NONE , http::BODY_IN_MEMORY , http::BODY_FROM_FILE , http::BODY_FROM_CGI }
 Defines the source of the data for an HTTP response body. More...

Functions

std::ostream & http::operator<< (std::ostream &o, HttpResponse const &r)