JSON RPC Client - Based on awc crate (actix web client)

Examples

``rust // call to remote functionmul` taking 2 numbers, they can be u8, f32, etc println!( "2 + 3 = {:?}", jsonrpcv2awc::Request::new("mul", jsonrpcv2awc::Params([2, 3]), 0) .send("http://localhost:8082/api") .await? .body() .await? );

// call to remote function timestamp with no params, in this case params can be () or "" println!( "2 + 3 = {:?}", jsonrpcv2awc::Request::new("timestamp", jsonrpcv2awc::Params(()), 1) .send("http://localhost:8082/api") .await? .body() .await? );

// call to remote function timestamp with no params, using apikey println!( "2 + 3 = {:?}", jsonrpcv2awc::Request::new("timestamp", jsonrpcv2awc::Params(()), 1) .sendwithapikey("http://localhost:8082/api", "API_KEY", "ds09ds9d-0d9s0d.xxx.yyy") .await? .body() .await? );

```