Packages@robojs/server
ApiHandlerModule
Interface: ApiHandlerModule
API handler module with exports. Supports both default export and named HTTP method exports.
Properties
| Property | Type |
|---|---|
config? | ApiConfig |
default? | ApiHandler |
DELETE? | ApiHandler |
GET? | ApiHandler |
HEAD? | ApiHandler |
OPTIONS? | ApiHandler |
PATCH? | ApiHandler |
POST? | ApiHandler |
PUT? | ApiHandler |
