rotor-stream

Crates.iorotor-stream
lib.rsrotor-stream
version0.6.2
sourcesrc
created_at2016-01-04 11:26:30.534467
updated_at2016-03-30 10:41:00.657772
description The stream abstration on top of rotor. This is the easiest way to build a protocol on top of TCP (Unix sockets) with rotor
homepagehttp://github.com/tailhook/rotor-stream
repository
max_upload_size
id3825
size63,774
Paul Colomiets (tailhook)

documentation

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
Commit count: 0

cargo fmt