7 references to MapMethods
HttpStress (1)
Program.cs (1)
492
endpoints.
MapMethods
("/", head, context =>
Microsoft.AspNetCore.Routing (5)
Builder\EndpointRouteBuilderExtensions.cs (5)
70
return
MapMethods
(endpoints, pattern, GetVerb, requestDelegate);
86
return
MapMethods
(endpoints, pattern, PostVerb, requestDelegate);
102
return
MapMethods
(endpoints, pattern, PutVerb, requestDelegate);
118
return
MapMethods
(endpoints, pattern, DeleteVerb, requestDelegate);
134
return
MapMethods
(endpoints, pattern, PatchVerb, requestDelegate);
Microsoft.AspNetCore.Routing.Tests (1)
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (1)
405
var endpointBuilder = builder.
MapMethods
("/", new[] { "METHOD" }, HandleHttpMetdata);