Boost C++ Libraries

PrevUpHomeNext

Struct call

boost::taar::jsonrpc::call — What a JSON-RPC method callable's argument providers receive.

Synopsis

// In header: <boost/taar/jsonrpc/arg.hpp>


struct call {

  // public data members
  envelope const & env;
  boost::beast::http::request< boost::beast::http::string_body > const & request;
  std::optional< std::size_t > position;  // Index of the provider among the call-reading providers, for positional params arrays. 
};

Description

One call is built per envelope (so one per element of a batch). It carries the parsed envelope and the HTTP request that delivered it.


PrevUpHomeNext