internal WebApiResponseEventArgs(WebApiRequestEventArgs request, HttpResponseMessage response, string contentData = null) { Elapsed = request.SetComplete(); Request = request; Response = response; ContentData = contentData; }
internal WebApiResponseEventArgs(WebApiRequestEventArgs request, Exception exception) { Elapsed = request.SetComplete(); Request = request; Exception = exception; }
private static void WebApiClientWebApiRequestEvent(object sender, WebApiRequestEventArgs e) { Console.WriteLine("REQUEST: (" + e.Path + ")" + e.ContentData); }