C# Class HypermediaApiSiteConsole.Tools.W3CLogger

Inheritance: System.Net.Http.DelegatingHandler
ファイルを表示 Open project: darrelmiller/HypermediaApiSite

Public Methods

Method Description
W3CLogger ( string logfile ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
GetClientIp ( HttpRequestMessage request ) : string
Log ( HttpResponseMessage response ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

SendAsync() protected method

protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage
cancellationToken System.Threading.CancellationToken
return Task

W3CLogger() public method

public W3CLogger ( string logfile ) : System
logfile string
return System