10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::http::server::HTTPResponse Class Reference

#include <HTTPResponse.h>

Detailed Description

HTTP-response to be returned by a HTTP server.

Public Member Functions

 HTTPResponse (const std::shared_ptr< tenduke::osa::Socket > &socket)
 Constructs new instance.
 
void write (const std::string &string)
 Writes following string as response.
 

Constructor & Destructor Documentation

◆ HTTPResponse()

tenduke::http::server::HTTPResponse::HTTPResponse ( const std::shared_ptr< tenduke::osa::Socket > &  socket)
inlineexplicit

Constructs new instance.

Parameters
socket-

Member Function Documentation

◆ write()

void tenduke::http::server::HTTPResponse::write ( const std::string &  string)
inline

Writes following string as response.

Parameters
string-

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