Skip to content

Implementing WebSocket connection in Leptos SSR #2498

Answered by gbj
victorfds asked this question in Q&A
Discussion options

You must be logged in to vote

For the client side, you might like to explore the use_websocket function from leptos-use, as this should be pretty smooth to use with the rest of the framework! For the server end of the websocket, I don't think there are any Leptos particulars; you can use whichever Axum-compatible websocket library you'd like. (I am not very familiar with them or I would offer a recommendation.)

Replies: 1 comment 1 reply

Comment options

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

Answer selected by victorfds
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