title: How to use GetAsync or PostAsync in RestSharp
body: <p>I can't find any examples of using <code>GetAsync</code> or <code>PostAsync</code> methods. I'm try to implement it with:</p>
  
  <pre><code>private static Task&lt;IRestResponse&gt; GetResultAsync(RestClient client, RestRequest request)
  {
      var taskSource = new TaskCompletionSource&lt;IRestResponse&gt;();
      client.GetAsync(request, response =&gt;
      {
          taskSource.SetResult(response);
      });
      return taskSource.Task;
  }
  </code></pre>
  
  <p>and I get an error, because I don't know what must be passed as <code>RestRequestAsyncHandle</code> argument:</p>
  
  <blockquote>
    <p>Delegate 'Action &lt; IRestResponse, RestRequestAsyncHandle>' does not take 1
    arguments</p>
  </blockquote>
  
  <p>Can somebody tell me what should be passed as <code>RestRequestAsyncHandle</code>?</p>