add_server_handler


Description:

[ Version ( since = "0.20.11" ) ]
public void add_server_handler (bool use_acl, string path, owned ServerCallback callback)

Add a ServerCallback to the Context's Server.

Parameters:

this

a Context

use_acl

true, if the path should query the GUPnPContext::acl before serving the resource, false otherwise.

path

the toplevel path for the handler.

callback

callback to invoke for requests under path

destroy

A DestroyNotify for user_data or null if none.

user_data

the user_data passed to callback




2022 vala-language.org