| 55 | } |
| 56 | |
| 57 | variant websocket_api_connection::send_call( |
| 58 | api_id_type api_id, |
| 59 | string method_name, |
| 60 | variants args /* = variants() */ ) |
| 61 | { |
| 62 | auto request = _rpc_state.start_remote_call( "call", {api_id, std::move(method_name), std::move(args) } ); |
| 63 | _connection.send_message( fc::json::to_string(request) ); |
| 64 | return _rpc_state.wait_for_response( *request.id ); |
| 65 | } |
| 66 | |
| 67 | variant websocket_api_connection::send_callback( |
| 68 | uint64_t callback_id, |
nothing calls this directly
no test coverage detected