public static Task <HttpResponseMessage> PutContentAsJsonAsync <T>(this HttpClient client, Uri requestUri, T requestContent) { return(client.PutContentAsJsonAsync(requestUri, requestContent, CancellationToken.None)); }
public static Task <HttpResponseMessage> PutContentAsJsonAsync <T>(this HttpClient client, string requestUrl, T requestContent, CancellationToken cancellationToken) { return(client.PutContentAsJsonAsync(new Uri(requestUrl), requestContent, cancellationToken)); }