10 writes to _methodText
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http\Http1Connection.cs (1)
473_methodText = startLine[..versionAndMethod.MethodEnd].GetAsciiString();
Internal\Http\HttpProtocol.cs (1)
379_methodText = null;
Internal\Http\HttpProtocol.FeatureCollection.cs (2)
43_methodText = HttpUtilities.MethodToString(Method) ?? string.Empty; 48_methodText = value;
Internal\Http2\Http2Stream.cs (3)
357_methodText = HttpRequestHeaders.HeaderMethod.ToString(); 711_methodText = HttpMethods.Get; 716_methodText = HttpMethods.Post;
Internal\Http3\Http3Stream.cs (3)
312_methodText = HttpMethods.Get; 317_methodText = HttpMethods.Post; 1184_methodText = HttpRequestHeaders.HeaderMethod.ToString();
13 references to _methodText
Microsoft.AspNetCore.Server.Kestrel.Core (13)
Internal\Http\HttpProtocol.FeatureCollection.cs (3)
38if (_methodText != null) 40return _methodText; 44return _methodText;
Internal\Http2\Http2Stream.cs (5)
332var requestLineLength = _methodText!.Length + Scheme!.Length + hostText.Length + path.Length; 358Method = HttpUtilities.GetKnownMethod(_methodText); 362ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(_methodText)), Http2ErrorCode.PROTOCOL_ERROR); 368if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0) 370ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(_methodText)), Http2ErrorCode.PROTOCOL_ERROR);
Internal\Http3\Http3Stream.cs (5)
1159var requestLineLength = _methodText!.Length + Scheme!.Length + hostText.Length + path.Length; 1185Method = HttpUtilities.GetKnownMethod(_methodText); 1189Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError); 1195if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0) 1197Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError);