Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1757367296, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ { "schema":"libjg2-1", "oid":{ "oid": "7866e75f3e38c42d4c4c510697de40ab942b5f13", "alias": []},"tree": [ { "name": "CMakeLists.txt","mode": "33188", "size":3495}, { "name": "README.md","mode": "33188", "size":2031}, { "name": "minimal-dbus-ws-proxy-testclient.c","mode": "33188", "size":11030}],"s":{"c":1757324512,"u": 760}} ,{"schema":"libjg2-1", "cid":"6f14fd529297ba6095acb6763d45c125", "oid":{ "oid": "7866e75f3e38c42d4c4c510697de40ab942b5f13", "alias": []},"blobname": "minimal-examples/dbus-client/minimal-dbus-ws-proxy-testclient/README.md", "blob": "# lws minimal dbus ws proxy testclient\n\nThis is a test client used to test `./minimal-examples/dbus-server/minimal-dbus-ws-proxy`\n\nIt asks the minimal dbus ws proxy application to connect to libwebsockets.org\nover the mirror protocol. And it proxies back the ASCII packets used to\ncommunicate the mirror sample drawing vectors over dbus to this test client\nif you draw on the [mirror example app](https://libwebsockets.org/testserver/)\nin a browser.\n\n## build\n\nUsing libdbus requires additional non-default include paths setting, same as\nis necessary for lws build described in ./lib/roles/dbus/README.md\n\nCMake can guess one path and the library name usually, see the README above\nfor details of how to override for custom libdbus and cross build.\n\nFedora example:\n```\n$ cmake .. -DLWS_DBUS_INCLUDE2\u003d\u0022/usr/lib64/dbus-1.0/include\u0022\n$ make\n```\n\nUbuntu example:\n```\n$ cmake .. -DLWS_DBUS_INCLUDE2\u003d\u0022/usr/lib/x86_64-linux-gnu/dbus-1.0/include\u0022\n$ make\n```\n\n## usage\n\nCommandline option|Meaning\n---|---\n-d \u003cloglevel\u003e|Debug verbosity in decimal, eg, -d15\n\nThis connects to the minimal-dbus-ws-proxy example running in another terminal.\n\n```\n $ ./lws-minimal-dbus-ws-proxy-testclient\n[2018/10/05 14:17:16:6286] USER: LWS minimal DBUS ws proxy testclient\n[2018/10/05 14:17:16:6538] NOTICE: Creating Vhost 'default' port 0, 1 protocols, IPv6 off\n[2018/10/05 14:17:16:6617] USER: create_dbus_client_conn: connecting to 'unix:abstract\u003dorg.libwebsockets.wsclientproxy'\n[2018/10/05 14:17:16:7189] NOTICE: create_dbus_client_conn: created OK\n[2018/10/05 14:17:16:7429] USER: remote_method_call: requesting proxy connection wss://libwebsockets.org/ lws-mirror-protocol\n[2018/10/05 14:17:17:0387] USER: pending_call_notify: received 'Connecting'\n[2018/10/05 14:17:18:7475] NOTICE: client_message_handler: (type 7) 'ws client connection established'\n[2018/10/05 14:17:21:2028] NOTICE: client_message_handler: (type 6) 'd #000000 323 63 323 67;'\n[2018/10/05 14:17:21:2197] NOTICE: client_message_handler: (type 6) 'd #000000 323 67 327 73;'\n...\n```\n\n","s":{"c":1757324512,"u": 274}} ],"g": 659,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "7d0a"}