#include <userver/utest/simple_server.hpp>
Response to return from the OnRequest callback.
Definition at line 29 of file simple_server.hpp.
Public Types | |
| enum | Commands { kWriteAndClose , kTryReadMore , kWriteAndContinue } |
Public Attributes | |
| std::string | data_to_send {} |
| Commands | command {kWriteAndClose} |
What the SimpleServer has to do with the connection after the data_to_send is sent. | |
| enum utest::SimpleServer::Response::Commands |
Definition at line 30 of file simple_server.hpp.
| Commands utest::SimpleServer::Response::command {kWriteAndClose} |
What the SimpleServer has to do with the connection after the data_to_send is sent.
Definition at line 39 of file simple_server.hpp.
| std::string utest::SimpleServer::Response::data_to_send {} |
Definition at line 36 of file simple_server.hpp.