Skip to content

Plugin Websockets v2 use-case example? #10917

Answered by FabianLars
jswhisperer asked this question in Q&A
Discussion options

You must be logged in to vote

The main reason is the same as the reason to use the http plugin. It works even when the browser's apis fail due to things like CORS. Also, some people may just prefer to have things like these implemented in Rust (even though it may be a bit slower due to the IPC) 🤷

Also, so far a pretty nieche feature, but you can specifiy a custom TLS connector (in rust).

To be able to interact with a websocket connection directly from Rust code

Nope, the plugin doesn't have a Rust api yet, other than configuration.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jswhisperer
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