mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00

This builds on the new dbus role support to provide a minimal example proxy between ws and dbus. A client app is provided that asks the proxy to connect to libwebsockets.org and proxy the drawing data from the mirror example there back to the dbus client using dbus messages.
14 lines
499 B
Text
14 lines
499 B
Text
<!DOCTYPE busconfig PUBLIC
|
|
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
|
<busconfig>
|
|
<policy user="root">
|
|
<allow own="org.libwebsockets.wsclientproxy"/>
|
|
<allow send_destination="org.libwebsockets.wsclientproxy"/>
|
|
</policy>
|
|
<policy context="default">
|
|
<deny own="org.libwebsockets.wsclientproxy"/>
|
|
<deny send_destination="org.libwebsockets.wsclientproxy"/>
|
|
</policy>
|
|
</busconfig>
|
|
|