https://github.com/mgmacias95/simple-echo-protocol
Simple echo server and client made with asyncio.
https://github.com/mgmacias95/simple-echo-protocol
asyncio echo-protocol python3
Last synced: 10 months ago
JSON representation
Simple echo server and client made with asyncio.
- Host: GitHub
- URL: https://github.com/mgmacias95/simple-echo-protocol
- Owner: mgmacias95
- License: gpl-3.0
- Created: 2018-05-19T16:05:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-14T22:35:24.000Z (about 7 years ago)
- Last Synced: 2025-03-26T14:11:53.406Z (11 months ago)
- Topics: asyncio, echo-protocol, python3
- Language: Python
- Size: 1.59 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple-echo-protocol
Simple echo server and client made with asyncio.
This code will be used as example for my talk at the [__YWT On The Beach__ meetup](https://www.meetup.com/es-ES/yeswetech/events/250109575/)
## How to use
The defined file structure allows implementing new messages for the protocol. Edit `process_request` and `process_response` functions:
* In `common.py` file to add requests and responses for both server and client.
* In `server.py` file to add requests and responses for the server.
* In `client.py` file to add requests and responses for clients.