private static void PrintResponse(HttpResponseMessage response, string content = null) { if (ParseLogger.LogDelegate == null) { return; } ParseLogger.Debug(ParseHttpUtils.FormatResponse(response, content)); }
private static void PrintRequest(HttpClient client, HttpRequestMessage request, string content = null) { if (ParseLogger.LogDelegate == null) { return; } ParseLogger.Debug(ParseHttpUtils.FormatRequest(client, request, content)); }