16 references to HttpParseResult
Microsoft.AspNetCore.Http (16)
src\Shared\HttpRuleParser.cs (16)
155internal static HttpParseResult GetQuotedStringLength(StringSegment input, int startIndex, out int length)
163internal static HttpParseResult GetQuotedPairLength(StringSegment input, int startIndex, out int length)
170return HttpParseResult.NotParsed;
177return HttpParseResult.InvalidFormat;
182return HttpParseResult.Parsed;
210private static HttpParseResult GetExpressionLength(
226return HttpParseResult.NotParsed;
235(GetQuotedPairLength(input, current, out var quotedPairLength) == HttpParseResult.Parsed))
253return HttpParseResult.InvalidFormat;
257var nestedResult = GetExpressionLength(input, current, openChar, closeChar,
262case HttpParseResult.Parsed:
266case HttpParseResult.NotParsed:
272case HttpParseResult.InvalidFormat:
274return HttpParseResult.InvalidFormat;
290return HttpParseResult.Parsed;
296return HttpParseResult.InvalidFormat;