olliNiinivaara / GuildenStern

Modular multithreading HTTP/1.1 + WebSocket server framework
MIT License
80 stars 7 forks source link

HTTP version? #6

Closed tomByrer closed 3 years ago

tomByrer commented 3 years ago

Hi, interesting library. Is it compatible with HTTP2 & HTTP3?

olliNiinivaara commented 3 years ago

This is meant for communication between your Nim application ("the upstream") and an Internet-facing server ("the reverse proxy") - both on same computer or LAN. In that last hop, many fancy things are not required, like HTTP/S, HTTP2, HTTP3, and serving (public) static files - so the answer is no.

If major open-source web servers start offering an upstream API for some new protocol and someone writes a Nim implementation for it, of course support should be considered.

One such protocol to keep an eye on is WebTransport as the next-generation replacement for WebSocket.