peerplays-fc/include/fc/rpc
theoreticalbts 5c1bb56177 Implement modular API support
- Create class `api_base` to be base class of `api<T>`, and `typedef shared_ptr<api_base> api_ptr`
- Create function `api_base::as<T>()` to allow simple downcast to `api<T>`
- Create class `any_api` to contain an API which has been returned from the remote end, but not yet cast with `as<T>`
- `to_generic()` override allowing remote API to return `api_ptr`, thus we need not know the type of the returned API at compile time
- Allow API's to be referenced by name, if we call with a string API name in the JSON the framework calls get_api_by_name on API 1 to determine the API ID
2016-04-04 00:50:56 -04:00
..
api_connection.hpp Implement modular API support 2016-04-04 00:50:56 -04:00
cli.hpp rpc: Move many method implementations from headers to cpp files 2015-06-30 15:54:29 -04:00
http_api.hpp rpc: Move many method implementations from headers to cpp files 2015-06-30 15:54:29 -04:00
json_connection.hpp Fix crashes when destroying json_connection, tcp_socket 2015-02-12 10:54:18 -05:00
state.hpp added support for unhandled extension and mapping the first registered API to global namespace 2015-03-31 17:45:01 -04:00
variant_connection.hpp more windows related changes, check what I was thinking with that BOOST1_51 when not in a hurry, maybe it should just be removed now 2013-08-10 22:11:59 -04:00
variant_stream.hpp Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
websocket_api.hpp rpc: Move many method implementations from headers to cpp files 2015-06-30 15:54:29 -04:00