Exemple #1
0
 public static string ToDiagnosticString(this IRestResponse that)
 {
     return(string.Format("Response url: {0}; Response status: {1}; HTTP status code: {2} ({3}); Error message: {4}; Content: {5}",
                          that.ResponseUri, that.ResponseStatus, that.StatusCode, that.StatusDescription, that.ErrorMessage, that.ContentWithEscapedCurlies()));
 }