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
Access to this as some public function would be very beneficial as it'd allow for broadcasting messages without building your stuff on top of it, cheers.
The text was updated successfully, but these errors were encountered:
@CDVoidwalker I was looking at this also, and will probably look at implementing this in the near future. I was talking to @TimonPost and we agreed that we didn't want to expose any of the internals of laminar.
Would something like Socket::get_connection(&self) -> -> impl Iterator<Item=SocketAddr> be sufficient for your purposes?
@TimonPost could you make me the assignee for this issue?
It's been a while since I've looked at the library, but the change you proposed sounds like it'd be sufficient. Some simple broadcasting function just using this get connection and iterating would also be great as I believe that most people do use it this way anyway.
Access to this as some public function would be very beneficial as it'd allow for broadcasting messages without building your stuff on top of it, cheers.
The text was updated successfully, but these errors were encountered: