Gin icon indicating copy to clipboard operation
Gin copied to clipboard

Feature: HTTP/Websocket server

Open mickmister opened this issue 3 years ago • 1 comments

Currently the project exports a WebSocket client for use. Can this code be easily augmented to support hosting a WebSocket server?

mickmister avatar Nov 21 '21 19:11 mickmister

No, the client and server are quite different. Luckily, there are a lot of C++ libraries for servers (where there are only a few for clients). If you just need a simple webserver that supports websockets and https I recommend https://github.com/civetweb/civetweb

FigBug avatar Nov 21 '21 19:11 FigBug