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)
| 1511 | // |
| 1512 | // Returns a *Route and an error which will be filled if route wasn't registered successfully. |
| 1513 | func (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 | // |