10 writes to _methodText
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http\Http1Connection.cs (1)
327_methodText = startLine[..versionAndMethod.MethodEnd].GetAsciiString();
Internal\Http\HttpProtocol.cs (1)
361_methodText = null;
Internal\Http\HttpProtocol.FeatureCollection.cs (2)
43_methodText = HttpUtilities.MethodToString(Method) ?? string.Empty; 48_methodText = value;
Internal\Http2\Http2Stream.cs (3)
351_methodText = HttpRequestHeaders.HeaderMethod.ToString(); 702_methodText = HttpMethods.Get; 707_methodText = HttpMethods.Post;
Internal\Http3\Http3Stream.cs (3)
248_methodText = HttpMethods.Get; 253_methodText = HttpMethods.Post; 1092_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)
333var requestLineLength = _methodText!.Length + Scheme!.Length + hostText.Length + path.Length; 352Method = HttpUtilities.GetKnownMethod(_methodText); 356ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(_methodText)), Http2ErrorCode.PROTOCOL_ERROR); 362if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0) 364ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(_methodText)), Http2ErrorCode.PROTOCOL_ERROR);
Internal\Http3\Http3Stream.cs (5)
1074var requestLineLength = _methodText!.Length + Scheme!.Length + hostText.Length + path.Length; 1093Method = HttpUtilities.GetKnownMethod(_methodText); 1097Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError); 1103if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0) 1105Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError);