/// <summary>
 /// Performs a PATCH REST request using the provided request URI.
 /// </summary>
 /// <param name="requestUri">The request URI to use</param>
 /// <param name="content">The content to send</param>
 /// <returns>A type-casted object of the contents of the response</returns>
 protected async Task <T> PatchAsync <T>(string requestUri, HttpContent content)
 {
     using (AdvancedHttpClient client = await this.GetHttpClient())
     {
         try
         {
             client.RateLimitUpdateOccurred += Client_RateLimitUpdateOccurred;
             return(await client.PatchAsync <T>(requestUri, content));
         }
         finally
         {
             client.RateLimitUpdateOccurred -= Client_RateLimitUpdateOccurred;
         }
     }
 }