Skip to content

Best practice to use WebSocket #79

Answered by adam-fowler
cflorion asked this question in Q&A
Discussion options

You must be logged in to vote

Yes the websocket code doesn't have any support for storing connections. I have left that up to you. The websocket chat example in hummingbird-examples has a basic connection manager https://github.com/hummingbird-project/hummingbird-examples/blob/main/websocket-chat/Sources/App/ConnectionManager.swift

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cflorion
Comment options

Answer selected by adam-fowler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants