{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1750224170,
"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": "b0b4f0dd568334aa7822c25f14508a0d5a527c0c", "alias": []},"tree": [
{ "name": "mount-origin","mode": "16384", "size":0},
{ "name": "CMakeLists.txt","mode": "33188", "size":748},
{ "name": "README.md","mode": "33188", "size":1359},
{ "name": "minimal-ws-proxy.c","mode": "33188", "size":2835},
{ "name": "protocol_lws_minimal.c","mode": "33188", "size":6111}],"s":{"c":1750202753,"u": 673}}
,{"schema":"libjg2-1",
"cid":"f28bc43964000f2930e610bced649790",
"oid":{ "oid": "b0b4f0dd568334aa7822c25f14508a0d5a527c0c", "alias": []},"blobname": "minimal-examples-lowlevel/client-server/minimal-ws-proxy/README.md", "blob": "# lws minimal ws proxy\n\n## Build\n\n```\n $ cmake . \u0026\u0026 make\n```\n\n## Description\n\nThis is the same as minimal-ws-server-ring, but with the\ninclusion of a ws client connection to https://libwebsockets.org\nusing the dumb-increment protocol feeding the ringbuffer.\n\nEach client that connect to this server receives the content that\nhad arrived on the client connection feeding the ringbuffer proxied\nto their browser window over a ws connection.\n\n## Usage\n\n```\n $ ./lws-minimal-ws-proxy \n[2018/03/14 17:50:10:6938] USER: LWS minimal ws proxy | visit http://localhost:7681\n[2018/03/14 17:50:10:6955] NOTICE: Creating Vhost 'default' port 7681, 2 protocols, IPv6 off\n[2018/03/14 17:50:10:6955] NOTICE: Using non-SSL mode\n[2018/03/14 17:50:10:7035] NOTICE: created client ssl context for default\n[2018/03/14 17:50:11:7047] NOTICE: binding to lws-minimal-proxy\n[2018/03/14 17:50:11:7047] NOTICE: lws_client_connect_2: 0x872e60: address libwebsockets.org\n[2018/03/14 17:50:12:3282] NOTICE: lws_client_connect_2: 0x872e60: address libwebsockets.org\n[2018/03/14 17:50:13:8195] USER: callback_minimal: established\n```\n\nVisit http://localhost:7681 on multiple browser windows\n\nData received on the remote wss connection is copied to all open browser windows.\n\nA ringbuffer holds up to 8 lines of text in the server, and the browser shows\nthe last 20 lines of received text.\n","s":{"c":1750202753,"u": 101}}
],"g": 866,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "7d0a"}