rsocket-rust
rsocket-rust is an implementation of the RSocket protocol in Rust. It is under active development. Do not use it in a production environment.
Example
Here are some example codes which show how RSocket works in Rust. :sunglasses:
Server
extern crate bytes;
extern crate futures;
extern crate rsocket_rust;
use Bytes;
use *;
use *;
Client
extern crate futures;
extern crate rsocket_rust;
use *;
use *;
Dependencies
TODO
- Codec
- Setup
- Keepalive
- Payload
- RequestResponse
- RequestStream
- RequestChannel
- RequestFireAndForget
- MetadataPush
- RequestN
- Resume
- ResumeOK
- Cancel
- Error
- Lease
- Operations
- METADATA_PUSH
- REQUEST_FNF
- REQUEST_RESPONSE
- REQUEST_STREAM
- REQUEST_CHANNEL
- Transport
- TCP
- Websocket
- Rx
- ...
- High Level APIs
- Client
- Server