MCPcopy Index your code
hub / github.com/labstack/echo / CONNECT

Method CONNECT

echo.go:496–498  ·  view source on GitHub ↗

CONNECT registers a new CONNECT route for a path with matching handler in the router with optional route-level middleware. Panics on error.

(path string, h HandlerFunc, m ...MiddlewareFunc)

Source from the content-addressed store, hash-verified

494// CONNECT registers a new CONNECT route for a path with matching handler in the
495// router with optional route-level middleware. Panics on error.
496func (e *Echo) CONNECT(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo {
497 return e.Add(http.MethodConnect, path, h, m...)
498}
499
500// DELETE registers a new DELETE route for a path with matching handler in the router
501// with optional route-level middleware. Panics on error.

Callers 2

TestGroup_CONNECTFunction · 0.45
TestEchoConnectFunction · 0.45

Calls 1

AddMethod · 0.95

Tested by 2

TestGroup_CONNECTFunction · 0.36
TestEchoConnectFunction · 0.36