packio
Namespaces | Typedefs | Functions
nlohmann_json.h File Reference
#include "../client.h"
#include "../server.h"
#include "rpc.h"

Go to the source code of this file.

Namespaces

 packio::nlohmann_json
 
 packio
 

Typedefs

template<typename Socket , template< class... > class Map = default_map>
using packio::nlohmann_json::client = ::packio::client< rpc, Socket, Map >
 The msgpack client class. More...
 
template<typename Acceptor , typename Dispatcher = dispatcher<rpc>>
using packio::nlohmann_json::server = ::packio::server< rpc, Acceptor, Dispatcher >
 The msgpack server class. More...
 
using packio::nlohmann_json::completion_handler = completion_handler< rpc >
 The completion_handler class. More...
 

Functions

template<typename Socket , template< class... > class Map = default_map>
auto packio::nlohmann_json::make_client (Socket &&socket)
 Create a msgpack client from a socket. More...
 
template<typename Acceptor , typename Dispatcher = dispatcher<rpc>>
auto packio::nlohmann_json::make_server (Acceptor &&acceptor)
 Create a msgpack server from an acceptor. More...
 

Detailed Description

Typedefs and functions to use the JSON-RPC protocol based on the nlohmann::json library