/// <exception cref="WebException">Channel error</exception> /// <exception cref="TinyHttpException">Server side error</exception> /// <exception cref="InvalidDataException">Data format error</exception> /// <exception cref="TinyTimeoutException">Tiny client timeout</exception> public static HttpResponse <string> PutAndReceiveText(this HttpClient client, string query, object jsonSerializeableContent, bool throwIfFailed = true) => client.SendAndReceiveText(HttpClientRequest.CreateJsonPut(query, jsonSerializeableContent), throwIfFailed);
/// <exception cref="WebException">Channel error</exception> /// <exception cref="InvalidDataException">Data format error</exception> /// <exception cref="TinyTimeoutException">Tiny client timeout</exception> public static IHttpResponse SendJsonPut(this HttpClient client, string query, object jsonSerializeableObject) => client.Send(HttpClientRequest.CreateJsonPut(query, jsonSerializeableObject));