C# Class NuGet.RequestHelper

This class is used to keep sending requests until a response code that doesn't require authentication happens or if the request requires authentication and the user has stopped trying to enter them (i.e. they hit cancel when they are prompted).
Show file Open project: xero-github/Nuget Class Usage Examples

Private Methods

Method Description
GetResponse ( WebResponse response ) : IHttpWebResponse
GetResponse ( Func createRequest, Action prepareRequest, IProxyCache proxyCache, ICredentialCache credentialCache, ICredentialProvider credentialProvider ) : WebResponse

Keeps sending requests until a response code that doesn't require authentication happens or if the request requires authentication and the user has stopped trying to enter them (i.e. they hit cancel when they are prompted).

IsAuthenticationResponse ( IHttpWebResponse response ) : bool
SetKeepAliveHeaders ( HttpWebRequest request, IHttpWebResponse previousResponse ) : void