Method

CogHostRoutesHandlercontains

Declaration [src]

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

Description [src]

Check if there is already added a route for the host.

Parameters

host const char*
 

URI host to match.

 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 already exists.