MCPcopy Create free account
hub / github.com/kataras/iris / isReservedMethodHandler

Method isReservedMethodHandler

mvc/controller.go:359–369  ·  view source on GitHub ↗
(method, path string)

Source from the content-addressed store, hash-verified

357}
358
359func (c *ControllerActivator) isReservedMethodHandler(method, path string) bool {
360 for _, routes := range c.routes {
361 for _, r := range routes {
362 if r.Method == method && r.Path == path {
363 return true
364 }
365 }
366 }
367
368 return false
369}
370
371func (c *ControllerActivator) markAsWebsocket() {
372 c.servesWebsocket = true

Callers 1

handleManyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected