프로퍼티 | 타입 | 설명 | |
---|---|---|---|
NetworkRetryWaitMax | System.TimeSpan | ||
NetworkRetryWaitStep | System.TimeSpan |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Dispose | void | ||
GetNextQueueEntry | bool | ||
RequestLoop | void | ||
ShouldUsePostForRequest | bool |
메소드 | 설명 | |
---|---|---|
Add ( |
Add a URI to be requested to the queue.
|
|
Dispose ( ) : void | ||
Start ( System.TimeSpan uploadInterval, IEnumerable |
Start the BackgroundHttpRequester with a given upload interval and a list of previously unrequested URIs.
|
|
StopAsync ( ) : Task
|
Stop the BackgroundHttpRequester and return a list of URIs that were not requested.
|
메소드 | 설명 | |
---|---|---|
GetInnermostException ( |
Obtain the innermost Exception from within an Exception.
|
|
RequestWithFailureRetry ( |
Request the URI retrying as appropriate if a failure occurs.
|
|
WaitBetweenFailedRequests ( System.TimeSpan &previousRetryDelay ) : void |
Delay for a period of time between failed network requests.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool isDisposing ) : void | ||
GetNextQueueEntry ( |
Get the next entry from the queue.
|
|
RequestLoop ( ) : void |
Loop that keeps requesting URIs in the queue until there are none left, then sleeps.
|
|
ShouldUsePostForRequest ( |
Whether a URI request is too long to be sent as a GET and instead the query parameters should be sent as the body of a POST instead.
|
protected static GetInnermostException ( |
||
ex | Exception to obtain the innermost exception from. | |
리턴 |
protected abstract RequestWithFailureRetry ( |
||
requestUri | URI to requqest. | |
cancellationToken | ||
리턴 | void |
public Start ( System.TimeSpan uploadInterval, IEnumerable |
||
uploadInterval | System.TimeSpan | How often to send the contents of the queue. |
previouslyUnrequested | IEnumerable |
List of previously unrequested URIs obtained last time the requester was stopped. |
리턴 | void |
protected WaitBetweenFailedRequests ( System.TimeSpan &previousRetryDelay ) : void | ||
previousRetryDelay | System.TimeSpan | Previous retry delay value to base delay on. |
리턴 | void |
protected static TimeSpan,System NetworkRetryWaitMax | ||
리턴 | System.TimeSpan |