Method
GUPnPContextadd_server_handler
since: 0.20.11
Declaration [src]
void
gupnp_context_add_server_handler (
GUPnPContext* context,
gboolean use_acl,
const char* path,
SoupServerCallback callback,
gpointer user_data,
GDestroyNotify destroy
)
Description [src]
Add a SoupServerCallback to the GUPnPContext‘s SoupServer.
Available since: 0.20.11
Parameters
use_acl-
Type:
gbooleanTRUE, if the path should query the GUPnPContext::acl before serving the resource,FALSEotherwise. path-
Type:
const char*The toplevel path for the handler.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. callback-
Type:
SoupServerCallbackCallback to invoke for requests under
path. user_data-
Type:
gpointerThe user_data passed to
callback.The argument can be NULL.The data is owned by the caller of the method. destroy-
Type:
GDestroyNotifyA
GDestroyNotifyforuser_dataorNULLif none.The argument can be NULL.