As of now and if I am not mistaken this package can only handle one connection at a time. If I understood the code correctly this is due to the http.Client being a static variable => you can have one instance only when it is static.
May a solution be to transform the static type and functions to class-types ans class-functions so that we can have multiple instances of SSEClient each of which handling one connection?
As of now and if I am not mistaken this package can only handle one connection at a time. If I understood the code correctly this is due to the
http.Clientbeing a static variable => you can have one instance only when it is static.May a solution be to transform the static type and functions to class-types ans class-functions so that we can have multiple instances of
SSEClienteach of which handling one connection?