alexandrevicenzi / go-sse

Server-Sent Events for Go
MIT License
172 stars 40 forks source link

Add HTTP/2 support #17

Open pranaySinghDev opened 4 years ago

pranaySinghDev commented 4 years ago

Is there any way I can use it with http/2?

alexandrevicenzi commented 4 years ago

As long as you use the standard library it should work, if you are using something else you should provide some code example.

Take a look in net/http2/h2c.