Handle same as `Self.Handle` but it accepts one or more "handlersFn" functions which each one of them can accept any input arguments that match with the Party's registered Container's `Dependencies` and any output result; like custom structs , string, []byte, int, error, a combination of the abov
(method, relativePath string, handlersFn ...interface{})
| 179 | // |
| 180 | // See `OnError`, `RegisterDependency`, `Use`, `Done`, `Get`, `Post`, `Put`, `Patch` and `Delete` too. |
| 181 | func (api *APIContainer) Handle(method, relativePath string, handlersFn ...interface{}) *Route { |
| 182 | handlers := api.convertHandlerFuncs(relativePath, handlersFn...) |
| 183 | route := api.Self.Handle(method, relativePath, handlers...) |
| 184 | fixRouteInfo(route, handlersFn) |
| 185 | return route |
| 186 | } |
| 187 | |
| 188 | // Get registers a route for the Get HTTP Method. |
| 189 | // |