Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetCommentLength()

static HttpParseResult System.Net.Http.HttpRuleParser.GetCommentLength ( string input,
int startIndex,
out int length )
inlinestaticpackage

Definition at line 182 of file HttpRuleParser.cs.

183 {
184 return GetExpressionLength(input, startIndex, '(', ')', supportsNesting: true, 1, out length);
185 }
static HttpParseResult GetExpressionLength(string input, int startIndex, char openChar, char closeChar, bool supportsNesting, int nestedCount, out int length)

References System.Net.Http.HttpRuleParser.GetExpressionLength(), System.input, System.length, and System.startIndex.

Referenced by System.Net.Http.Headers.HeaderUtilities.CheckValidComment(), System.Net.Http.Headers.ProductInfoHeaderValue.GetProductInfoLength(), and System.Net.Http.Headers.ViaHeaderValue.GetViaLength().