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)
38
if (
_methodText
!= null)
40
return
_methodText
;
44
return
_methodText
;
Internal\Http2\Http2Stream.cs (5)
333
var requestLineLength =
_methodText
!.Length + Scheme!.Length + hostText.Length + path.Length;
352
Method = HttpUtilities.GetKnownMethod(
_methodText
);
356
ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(
_methodText
)), Http2ErrorCode.PROTOCOL_ERROR);
362
if (HttpCharacters.IndexOfInvalidTokenChar(
_methodText
) >= 0)
364
ResetAndAbort(new ConnectionAbortedException(CoreStrings.FormatHttp2ErrorMethodInvalid(
_methodText
)), Http2ErrorCode.PROTOCOL_ERROR);
Internal\Http3\Http3Stream.cs (5)
1054
var requestLineLength =
_methodText
!.Length + Scheme!.Length + hostText.Length + path.Length;
1073
Method = HttpUtilities.GetKnownMethod(
_methodText
);
1077
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(
_methodText
)), Http3ErrorCode.ProtocolError);
1083
if (HttpCharacters.IndexOfInvalidTokenChar(
_methodText
) >= 0)
1085
Abort(new ConnectionAbortedException(CoreStrings.FormatHttp3ErrorMethodInvalid(
_methodText
)), Http3ErrorCode.ProtocolError);