Method
CogHostRoutesHandleradd_path
Declaration [src]
gboolean
cog_host_routes_handler_add_path (
  CogHostRoutesHandler* self,
  const char* host,
  const char* base_path
)
Description [src]
Adds a route to the handler pointing to a directory.
This is a convenience method which configures a route
matching host in URI, and creates a new
CogDirectoryFilesHandler for base_path to handle requests
for the route.