Files
J1B3-Sensor-boxes/docs/rpi-documentation/websockets.md
2024-02-13 16:33:34 +01:00

14 lines
607 B
Markdown

# Websockets
## Introduction
### Why are we going to use websockets?
With websockets you can establish a connection between the client and the server, and both can send data fast to each other. This is useful for real-time applications like for our project to plot live graphs of the data we are collecting from the sensors.
### How to use websockets
There are different languages to serve websockets with, but we are going to use Python with the library `websockets`. This library is easy to use and has a lot of documentation.
#### Sources:
* https://websockets.readthedocs.io/en/stable/index.html