Sage.ResourceManagement.HttpUrlResolver.HttpUrlResolver C# (CSharp) Method

HttpUrlResolver() public method

Initializes a new instance of the HttpUrlResolver class.
public HttpUrlResolver ( string accept = null, string acceptLanguage = null, int timeout ) : System
accept string The http accept header value
acceptLanguage string The http accept-language header value
timeout int The time (in seconds) to wait before cancelling the request (default is 10).
return System
        public HttpUrlResolver(string accept = null, string acceptLanguage = null, int timeout = 0)
        {
            this.accept = accept;
            this.acceptLanguage = acceptLanguage;

            if (timeout > 0)
                this.timeout = timeout;
        }