#include <HTTPResponse.h>
HTTP-response to be returned by a HTTP server.
|
| | HTTPResponse (const std::shared_ptr<::tenduke::osa::Socket > &socket) |
| | Constructs new instance.
|
| void | write (const std::string &string) |
| | Writes following string as response.
|
◆ HTTPResponse()
| tenduke::http::server::HTTPResponse::HTTPResponse |
( |
const std::shared_ptr<::tenduke::osa::Socket > & | socket | ) |
|
|
inlineexplicit |
Constructs new instance.
- Parameters
-
◆ write()
| void tenduke::http::server::HTTPResponse::write |
( |
const std::string & | string | ) |
|
|
inline |
Writes following string as response.
- Parameters
-
The documentation for this class was generated from the following file: