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

Method Connect

core/router/api_builder.go:1513–1515  ·  view source on GitHub ↗

Connect registers a route for the Connect HTTP Method. Returns a *Route and an error which will be filled if route wasn't registered successfully.

(relativePath string, handlers ...context.Handler)

Source from the content-addressed store, hash-verified

1511//
1512// Returns a *Route and an error which will be filled if route wasn't registered successfully.
1513func (api *APIBuilder) Connect(relativePath string, handlers ...context.Handler) *Route {
1514 return api.Handle(http.MethodConnect, relativePath, handlers...)
1515}
1516
1517// Head registers a route for the Head HTTP Method.
1518//

Callers

nothing calls this directly

Calls 1

HandleMethod · 0.95

Tested by

no test coverage detected