Method

CogHostRoutesHandlerremove

Declaration [src]

gboolean
cog_host_routes_handler_remove (
  CogHostRoutesHandler* self,
  const char* host
)

Description [src]

Removes a previously configured route.

Removes a route that matches host previously configured using cog_host_routes_handler_add() or cog_host_routes_handler_add_path().

Parameters

host const char*
 

URIhost for a configured route.

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

Return value

Returns: gboolean
 

Whether the route was found and removed.