Function
CogPrefixRoutesHandlernew
Declaration [src]
CogRequestHandler*
cog_prefix_routes_handler_new (
CogRequestHandler* fallback_handler
)
Parameters
fallback_handler-
Type:
CogRequestHandlerA
CogRequestHandlerto use as fallback.The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: CogRequestHandler
A handler with no routes configured.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |