Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Public Attributes | List of all members
seastar::httpd::json_operation Struct Reference

Detailed Description

A json_operation contain a method and a nickname. operation are associated to a path, that can have multiple methods

#include <seastar/http/json_path.hh>

Public Member Functions

 json_operation ()
 
 json_operation (operation_type method, const sstring &nickname)
 

Public Attributes

operation_type method
 
sstring nickname
 

Constructor & Destructor Documentation

◆ json_operation() [1/2]

seastar::httpd::json_operation::json_operation ( )
inline

default constructor

◆ json_operation() [2/2]

seastar::httpd::json_operation::json_operation ( operation_type  method,
const sstring &  nickname 
)
inline

Construct with assignment

Parameters
methodthe http method type
nicknamethe http nickname

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