10 writes to _methodText
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http\Http1Connection.cs (1)
312_methodText = startLine[..versionAndMethod.MethodEnd].GetAsciiStringNonNullCharacters();
Internal\Http\HttpProtocol.cs (1)
355_methodText = null;
Internal\Http\HttpProtocol.FeatureCollection.cs (2)
43_methodText = HttpUtilities.MethodToString(Method) ?? string.Empty; 48_methodText = value;
Internal\Http2\Http2Stream.cs (3)
339_methodText = HttpRequestHeaders.HeaderMethod.ToString(); 690_methodText = HttpMethods.Get; 695_methodText = HttpMethods.Post;
Internal\Http3\Http3Stream.cs (3)
248_methodText = HttpMethods.Get; 253_methodText = HttpMethods.Post; 1061_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)
321var requestLineLength = _methodText!.Length + Scheme!.Length + hostText.Length + path.Length; 340Method = HttpUtilities.GetKnownMethod(_methodText); 344ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(_methodText)), Http2ErrorCode.PROTOCOL_ERROR); 350if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0) 352ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(_methodText)), Http2ErrorCode.PROTOCOL_ERROR);
Internal\Http3\Http3Stream.cs (5)
1043var requestLineLength = _methodText!.Length + Scheme!.Length + hostText.Length + path.Length; 1062Method = HttpUtilities.GetKnownMethod(_methodText); 1066Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError); 1072if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0) 1074Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(_methodText)), Http3ErrorCode.ProtocolError);