Method

CogPrefixRoutesHandlerunmount

Declaration [src]

gboolean
cog_prefix_routes_handler_unmount (
  CogPrefixRoutesHandler* self,
  const char* path_prefix
)

Description [src]

Removes a previously configured route.

Removes a route that matches path_prefix previously configured using cog_prefix_routes_handler_mount() or cog_prefix_routes_handler_mount_path().

Parameters

path_prefix const char*
 

URI path prefix for a configured route.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

Whether the route was found and removed.