userver: utest::SimpleServer::Response Struct Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
utest::SimpleServer::Response Struct Reference

#include <userver/utest/simple_server.hpp>

Detailed Description

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.
 

Member Enumeration Documentation

◆ Commands

enum utest::SimpleServer::Response::Commands

Definition at line 30 of file simple_server.hpp.

Member Data Documentation

◆ command

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.

◆ data_to_send

std::string utest::SimpleServer::Response::data_to_send {}

Definition at line 36 of file simple_server.hpp.


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