Skip to content

Provide Proxy WebSocket Connection #197

@kb1lqc

Description

@kb1lqc

Summary

Proxy is currently setup for RESTful operation which makes sense in many cases. Poll the server and obtain the latest data. This is especially true if you are not aware of what services Proxy offers. It would be advantageous to provide a direct WebSocket connection which streams UART data to a socket. This would be efficient and extendable.

Problem Explanation

Polling the Flask server will eventually become cumbersome once large amounts of data are transferred via Faraday. WebSockets allow us to simply stream data from Proxy directly to a user over the internet. Someone who knows what services are available can directly connect to the socket while users unaware of service can query the RESTful API to be presented with the connections available and/or automatically connected to the socket(s) available.

Environment

Software

Python Software

Hardware

This is not hardware specific.

Supporting Information

This is a handy spot to post any screenshots or file outputs in order to better support this issue. We want to keep the top of the ticket clutter-free as possible.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions