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)
350_methodText = HttpRequestHeaders.HeaderMethod.ToString(); 701_methodText = HttpMethods.Get; 706_methodText = HttpMethods.Post;
Internal\Http3\Http3Stream.cs (3)
262_methodText = HttpMethods.Get; 267_methodText = HttpMethods.Post; 1114_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; 351Method = HttpUtilities.GetKnownMethod(_methodText); 355ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(_methodText)), Http2ErrorCode.PROTOCOL_ERROR); 361if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0) 363ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(_methodText)), Http2ErrorCode.PROTOCOL_ERROR);
Internal\Http3\Http3Stream.cs (5)
1096var requestLineLength = _methodText!.Length + Scheme!.Length + hostText.Length + path.Length; 1115Method = HttpUtilities.GetKnownMethod(_methodText); 1119Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError); 1125if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0) 1127Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError);