https://github.com/tailhook/rotor-stream
The stream abstraction on top of rotor (UNMAINTAINED, use tokio)
https://github.com/tailhook/rotor-stream
Last synced: 6 months ago
JSON representation
The stream abstraction on top of rotor (UNMAINTAINED, use tokio)
- Host: GitHub
- URL: https://github.com/tailhook/rotor-stream
- Owner: tailhook
- License: mit
- Created: 2015-12-15T22:42:43.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-08T04:21:19.000Z (over 9 years ago)
- Last Synced: 2025-05-24T11:29:09.938Z (9 months ago)
- Language: Rust
- Homepage:
- Size: 4.19 MB
- Stars: 19
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
============
Rotor Stream
============
:Status: Alpha
:Dependencies: rotor_, mio_, netbuf_
.. _rotor: http://github.com/tailhook/rotor
.. _mio: https://github.com/carllerche/mio
.. _netbuf: https://github.com/tailhook/netbuf
A stream abstraction based on MIO. Features:
* State machine-based implementation (as usually in rotor_)
* Uses netbuf_ for buffering, buffer has contiguous data slice (easy parsing)
* Input data abstractions: read-x-bytes, read-until-delimiter
* Perfect for request-reply style protocols
* Independent of whether it's client or server, tcp or unix sockets
* (TODO) should work on top of SSL later