Plugin Websockets v2 use-case example? #10917
-
websockets |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I actually think I was being silly by looking at this from a javascript developer perspective. Please let me know this if this is correct and the only use case: |
Beta Was this translation helpful? Give feedback.
-
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).
Nope, the plugin doesn't have a Rust api yet, other than configuration. |
Beta Was this translation helpful? Give feedback.
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).
Nope, the plugin doesn't have a Rust api yet, other than configuration.