Method | Description | |
---|---|---|
BackgroundHttpWebRequester ( Action |
Create a new BackgroundHttpWebRequester.
|
Method | Description | |
---|---|---|
RequestWithFailureRetry ( |
Request the URI with retry logic using HttpWebRequest.
|
Method | Description | |
---|---|---|
CreateGetRequest ( |
Create a HttpWebRequest using the HTTP GET method.
|
|
CreatePostRequest ( |
Create a HttpWebRequest using the HTTP POST method.
|
|
CreateRequest ( |
Creates the HttpWebRequest for a URI taking into consideration the length. For URIs over 2000 bytes it will be a GET otherwise it will become a POST with the query payload moved to the POST body.
|
public BackgroundHttpWebRequester ( Action |
||
preprocessor | Action |
Optional preprocessor for setting user agents, debugging etc. |
return | System |
protected RequestWithFailureRetry ( |
||
requestUri | URI to request. | |
cancellationToken | CancellationToken to indicate if the request should be cancelled. | |
return | void |