Seastar
High performance C++ framework for concurrent servers
Public Member Functions | List of all members
seastar::json::json_void Struct Reference

Detailed Description

There are cases where a json request needs to return a successful empty reply. The json_void class will be used to mark that the reply should be empty.

#include <seastar/json/json_elements.hh>

Inheritance diagram for seastar::json::json_void:
seastar::json::jsonable

Public Member Functions

virtual std::string to_json () const
 
virtual future write (output_stream< char > &s) const
 write to an output stream
 

Member Function Documentation

◆ to_json()

virtual std::string seastar::json::json_void::to_json ( ) const
inlinevirtual

create a foramted string of the object.

Returns
the object formated.

Implements seastar::json::jsonable.


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