jsonrpc4net: encoding and check status
authorGustavo Martin <gu.martinm@gmail.com>
Wed, 4 Jun 2014 04:36:06 +0000 (06:36 +0200)
committerGustavo Martin <gu.martinm@gmail.com>
Wed, 4 Jun 2014 04:36:06 +0000 (06:36 +0200)
commitdfb63f0135f7203cdbe9c8a0bd629cb29f6d5230
treec97a03dcf21b7bf27092ab04ff23283d94f8bede
parent741c4f7dcdef14cfc6fe16ba0cda7888fc70494f
jsonrpc4net: encoding and check status

1. retrieve received encoding from remote answer
   (and use it for local encoding)
2. check HTTP remote response status
   (using HttpResposeMessage.EnsureSuccessStatusCode)
jsonrpc4net/jsonrpc4net/JsonRpcHttpAsyncClient.cs