From 0d659863da607acaaf15ab69a662af2da006f65e Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Sat, 3 Jun 2017 01:32:06 -0700 Subject: rpc: Add set timeout API call --- host/lib/utils/rpc.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'host/lib/utils') diff --git a/host/lib/utils/rpc.hpp b/host/lib/utils/rpc.hpp index 1ae4f3c74..ac619ef58 100644 --- a/host/lib/utils/rpc.hpp +++ b/host/lib/utils/rpc.hpp @@ -134,6 +134,11 @@ class rpc_client _token = token; } + void set_timeout(size_t timeout_ms) + { + _client.set_timeout(timeout_ms); + } + private: std::string _token; std::mutex _mutex; -- cgit v1.2.3