Re: [QGIS-Developer] QGIS WebSocket

2023-05-13 Thread Nathan Woodrow via QGIS-Developer
Hi, You can use the QWebSocket (https://doc.qt.io/qt-6/qwebsocket.html) object to do this. Ships with Qt and QGIS. I did some R with it a while ago and it worked well. - Nathan On Sat, 13 May 2023 at 19:48, Nzikou, Michel via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi dev

Re: [QGIS-Developer] QGIS WebSocket

2023-05-13 Thread Nzikou, Michel via QGIS-Developer
Hi dev folks, I am working on creating a connection between my exp plugin and server via a WebSocket connection for data transferring. So my question is about whether QGIS has a WebSocket feature/ connect algorithm. Thanks *Michel Nzikou, Ph.D.* ASEG WA - President *-*

Re: [QGIS-Developer] PyQGIS read project from postgresql database

2023-05-13 Thread Alexandre Neto via QGIS-Developer
Hi, Actually, after I turned off the computer, I saw the fileName() method in documentation. I tried it and I realised that both my password and project name needed percent encoding some characters. So I have parsed my uri string with urllob.parse.quote to make it work correctly. Not sure