You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: