8 references to Connect
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Http\Http1Connection.cs (1)
568if (method != HttpMethod.Connect)
Internal\Http\HttpProtocol.cs (1)
1298else if (Method == HttpMethod.Connect && Is2xxCode(StatusCode))
Internal\Http2\Http2Stream.cs (1)
259if (Method == HttpMethod.Connect)
Internal\Http3\Http3Stream.cs (1)
1058if (Method == HttpMethod.Connect && HttpRequestHeaders.HeaderProtocol.Count == 0)
Internal\Infrastructure\HttpUtilities.cs (1)
349HttpMethod.Connect
Internal\Infrastructure\HttpUtilities.Generated.cs (2)
48SetKnownMethod(_mask8Chars, _httpConnectMethodLong, HttpMethod.Connect, 7); 51_methodNames[(byte)HttpMethod.Connect] = HttpMethods.Connect;
KestrelBadHttpRequestException.cs (1)
82ex = new BadHttpRequestException(CoreStrings.BadRequest_MethodNotAllowed, StatusCodes.Status405MethodNotAllowed, reason, HttpMethod.Connect);