Asynchronous RMQ -> Websocket Proxy Server
Here is an implementation of typical websocket server which receives messages from RMQ and process them and send to connected websocket clients
In the current state WS server is capable of:
- Running a server instance which accepts websocket connections from clients and control them;
- connecting to RabbitMQ, creating Exchange and Queue and consume on it;
- receiving messages from RMQ Queue;
- processing received RMQ messages and send them to connected websocket clients.
Struct
Pip
- pip install aio-rmq-wss-proxy
Source
- Clone repository
- Run "cd aio_rmq_wss_proxy/"
- Run "make install"
- Run the commands "make run_server" & "make run_client" to see how does it works
Please, note that before running server and client you need to have installed and running Rabbit MQ broker.
This is how it works from the box.
Customization
You can see the "public_sample" in "_testing/public_sample" directory and use it for build your own proxy server
Metadata
Release files for aio-rmq-wss-proxy 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aio_rmq_wss_proxy-0.0.3.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aio_rmq_wss_proxy-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.1 kB
Release files / aio_rmq_wss_proxy-0.0.3.tar.gz
| Download URL | aio_rmq_wss_proxy-0.0.3.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85214e3dc794a974eb645e2d89e9fc9d479cd65b42e1c4956ebe363c66e0e7ed
|
|
BLAKE2b-256 checksum How to use checksums |
bc28dfeb7a64383e947826602458d972eb0aa79f3053d054419e5562515a2002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / aio_rmq_wss_proxy-0.0.3-py3-none-any.whl
| Download URL | aio_rmq_wss_proxy-0.0.3-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e13477086619d27744607b506bf827b8b1205edde9195fca774be7d58eee7074
|
|
BLAKE2b-256 checksum How to use checksums |
188074cd4ea0a1975e7355bc76258968c0e61076d978c92c11e933e3871fbdc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|