Skip to content

Add websockets optional dep, and facade wrapper that uses it. - #949

Draft
JamesParrott wants to merge 1 commit into
eclipse-paho:masterfrom
JamesParrott:websockets_optional_dep
Draft

Add websockets optional dep, and facade wrapper that uses it.#949
JamesParrott wants to merge 1 commit into
eclipse-paho:masterfrom
JamesParrott:websockets_optional_dep

Conversation

@JamesParrott

@JamesParrott JamesParrott commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Minimal example of using the standard external dep to implement websockets support.

With a little extra code to parse the scheme, this would facilitate issue #886 (auto following of HTTP redirects) and if a default transport was added, the scheme in the url could determine the transport.

TODO:

  • Make the API surface the same, especially the exceptions.
  • Benchmark it to make sure any performance penalty isn't too bad
  • Enumerate all ways in which Paho's Mock websockets code is not regarded as compliant by the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant