ゴミ箱
Typedefs | Functions
main.cpp File Reference
#include <iostream>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include "http/server.hpp"
#include "http/typed_headers.hpp"
#include "utils/convert.hpp"

Typedefs

using tcp = boost::asio::ip::tcp
 

Functions

void hello_wolrd (http::Router::Context &&ctx)
 
void handle_ip (http::Router::Context &&ctx)
 
void handle_headers (http::Router::Context &&ctx)
 
void handle_status (http::Router::Context &&ctx)
 
int main (int, char[])
 

Typedef Documentation

using tcp = boost::asio::ip::tcp

Function Documentation

void handle_headers ( http::Router::Context &&  ctx)

Handler for /heades route

void handle_ip ( http::Router::Context &&  ctx)

Handler for /ip route

void handle_status ( http::Router::Context &&  ctx)

Handler for /status/:code route

void hello_wolrd ( http::Router::Context &&  ctx)

Root page

int main ( int  ,
char  [] 
)