C# Class XPHttp.HttpFilter.HttpRetryFilter

Inheritance: ICustomHttpFilter
Show file Open project: brookshi/XPHttp

Public Methods

Method Description
Dispose ( ) : void
HttpRetryFilter ( ) : System
HttpRetryFilter ( int retryTimes ) : System
HttpRetryFilter ( int retryTimes, IList retryHttpCodes ) : System
SendRequestAsync ( HttpRequestMessage request ) : HttpProgress>.IAsyncOperationWithProgress

Private Methods

Method Description
GetRetries ( HttpRequestMessage request ) : int
IncreaseRetries ( HttpRequestMessage request ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

HttpRetryFilter() public method

public HttpRetryFilter ( ) : System
return System

HttpRetryFilter() public method

public HttpRetryFilter ( int retryTimes ) : System
retryTimes int
return System

HttpRetryFilter() public method

public HttpRetryFilter ( int retryTimes, IList retryHttpCodes ) : System
retryTimes int
retryHttpCodes IList
return System

SendRequestAsync() public method

public SendRequestAsync ( HttpRequestMessage request ) : HttpProgress>.IAsyncOperationWithProgress
request HttpRequestMessage
return HttpProgress>.IAsyncOperationWithProgress