C# (CSharp) NG.HttpClient Namespace

Classes

Name Description
Http Use this convenience class to create requests.
HttpExtension
HttpGetRequest Standard GET request.
HttpGetRequestProtected GET request for a file in a protected directory. Not a strongly secure method as the URL is passed with the credentials as a plain string. Use HttpPostRequestProtected for a more secure method.
HttpPostRequest Standard POST request.
HttpPostRequestProtected Use this to make requests (POST or GET) to protected server directories.
HttpRequest Basic HttpRequest abstraction. This should not be used directly. Concrete HttpRequests should inherit from this class and must declare how to construct the WWW object. After instantiating an HttpRequest class you must call the Execute method to run the request. Options: useHttps - default: false Set this to use https protocol. timeOut Set this to the number of seconds to elapse before forcing a timeout. retryAttempts - default: 0 Set this to the number of times to retry the request. delayBetweenRetries - default: 0.25f Set this to the number of seconds to elapse before a retry is attempted. Call Cancel() at any time to cancel and dispose of the request. Call GetProgress() to check on the progress of the download. HandleSuccess and HandleError have been set with defaults to report common data about an http request. These methods are virtual so they can be extended or overwritten to serve any needs.
HttpResult
StatusCode
StatusMessage