예제 #1
0
 internal WebApiResponseEventArgs(WebApiRequestEventArgs request, HttpResponseMessage response, string contentData = null)
 {
     Elapsed = request.SetComplete();
     Request = request;
     Response = response;
     ContentData = contentData;
 }
예제 #2
0
 internal WebApiResponseEventArgs(WebApiRequestEventArgs request, Exception exception)
 {
     Elapsed = request.SetComplete();
     Request = request;
     Exception = exception;
 }
예제 #3
0
파일: Program.cs 프로젝트: Quilt4/Quilt4Net
 private static void WebApiClientWebApiRequestEvent(object sender, WebApiRequestEventArgs e)
 {
     Console.WriteLine("REQUEST: (" + e.Path + ")" + e.ContentData);
 }