BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Types | Public Member Functions | Public Attributes | List of all members
fc::http::reply Struct Reference

#include <connection.hpp>

Public Types

enum  status_code {
  OK = 200, RecordCreated = 201, NoContent = 204, BadRequest = 400,
  NotAuthorized = 401, NotFound = 404, Found = 302, InternalServerError = 500
}
 

Public Member Functions

 reply (status_code c=OK)
 

Public Attributes

int status
 
std::vector< headerheaders
 
std::vector< char > body
 
std::string body_as_string
 

Detailed Description

Definition at line 23 of file connection.hpp.

Member Enumeration Documentation

Enumerator
OK 
RecordCreated 
NoContent 
BadRequest 
NotAuthorized 
NotFound 
Found 
InternalServerError 

Definition at line 25 of file connection.hpp.

Constructor & Destructor Documentation

fc::http::reply::reply ( status_code  c = OK)
inline

Definition at line 35 of file connection.hpp.

Member Data Documentation

std::vector<char> fc::http::reply::body

Definition at line 38 of file connection.hpp.

std::string fc::http::reply::body_as_string

Definition at line 39 of file connection.hpp.

std::vector<header> fc::http::reply::headers

Definition at line 37 of file connection.hpp.

int fc::http::reply::status

Definition at line 36 of file connection.hpp.


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