Routing
Answered
Giant Angora posted this in #help-forum
Giant AngoraOP
Is it possible to use like classes instead of functions for
I never tried any of the classes method and was wondering if it was possible. And how exactly would I do it?
GET
, POST
etc? Is it possible?I never tried any of the classes method and was wondering if it was possible. And how exactly would I do it?
Answered by Asian black bear
This. The framework expects you to export specifically named free functions. You can't provide direct classes for that.
3 Replies
Giant AngoraOP
or would I have to use
GET
... functions and then call relevant classes@Giant Angora or would I have to use `GET` ... functions and then call relevant classes
Asian black bear
This. The framework expects you to export specifically named free functions. You can't provide direct classes for that.
Answer