kauefraga / pavus

The next-gen markdown tool. Preview markdown, generate from templates and more!
MIT License
10 stars 0 forks source link

Use SSE instead of WebSockets #2

Closed kauefraga closed 1 month ago

kauefraga commented 1 month ago

Replace websocket connection with server-sent events (SSE) using the EventSource API because Pavus previewer (client) doesn't need to send events to the server, so it only needs an one-way connection.

Guide on implemeting SSE with Go ( :brazil: )