System.Net.Http.Headers.GenericHeaderParser.ParseHost C# (CSharp) Method

ParseHost() private static method

private static ParseHost ( string value, int startIndex, object &parsedValue ) : int
value string
startIndex int
parsedValue object
return int
        private static int ParseHost(string value, int startIndex, out object parsedValue)
        {
            string host = null;
            int hostLength = HttpRuleParser.GetHostLength(value, startIndex, false, out host);

            parsedValue = host;
            return hostLength;
        }