Common interface for server routes, providing shared properties.
API
interface ServerRouteCommon {}
path
string
The path associated with this route.
headers
Record<string, string> | undefined
Optional additional headers to include in the response for this route.
status
number | undefined
Optional status code to return for this route.
Jump to details