rikitiki  v0.1.67
Build C++ web server modules that allow easy routing and deployment.
rikitiki::examples::RestAdvModule Struct Reference

#include <restAdv.h>


struct  PrintFunctor

Public Member Functions

void POST (ConnContext &ctx)
 Post operations add items to the DB.
void GET (ConnContext &ctx)
 Get operations without an ID return a list of all books.
void GET (ConnContext &ctx, int id)
void DELETE (ConnContext &ctx)
void operator() (ConnContext &ctx, int id, const std::string &prop)
void Register (Server &server)

Public Attributes

std::vector< Bookbooks

Detailed Description

Example implementation of a REST module with object reflection Demonstrates

  • Rest Features
  • Json Features

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