Along similar lines to this question, is it okay to instantiate a client and hold on to it, or do I need to create a new instance for every call (or batch of calls)?
As long as you need to call the same server to make Rest Requests, it is ok to have only one RestClient and use that same client to make multiple RestRequest.
Example C# Code:
var client = new RestClient("url here"))
// First Call
var request = new RestRequest("API/Path", Method.POST);
request.AddParameter("parameter", "value");
request.AddHeader("header", "value");
var response = client.Execute(request);
// Second Call
var request2 = new RestRequest("API/Path", Method.POST);
request2.AddParameter("parameter", "value");
request2.AddHeader("header", "value");
var response2 = client.Execute(request2);
Notice here, the client
variable. Which I have used twice because it is the base point for both the requests. No point in duplicating it for every request.
Hope this helps.