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)
362_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)
249_methodText = HttpMethods.Get; 254_methodText = HttpMethods.Post; 1072_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)
1054var requestLineLength = _methodText!.Length + Scheme!.Length + hostText.Length + path.Length; 1073Method = HttpUtilities.GetKnownMethod(_methodText); 1077Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError); 1083if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0) 1085Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError);