Popularity
7.5
Declining
Activity
2.0
-
1,446
31
217

Programming language: Rust
License: MIT License
Tags: Event Driven     Web     Io     Websocket     Mio    
Latest version: v0.9.1

ws-rs alternatives and similar packages

Based on the "WebSocket" category.
Alternatively, view ws-rs alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ws-rs or a related project?

Add another 'WebSocket' Package

README

WS-RS

Lightweight, event-driven WebSockets for Rust.


/// A WebSocket echo server
listen("127.0.0.1:3012", |out| {
    move |msg| {
        out.send(msg)
    }
})

Introduction

Build Status [MIT licensed](./LICENSE) Crate

Homepage

API Documentation

This library provides an implementation of WebSockets, RFC6455 using MIO. It allows for handling multiple connections on a single thread, and even spawning new client connections on the same thread. This makes for very fast and resource efficient WebSockets. The API design abstracts away the menial parts of the WebSocket protocol and allows you to focus on application code without worrying about protocol conformance. However, it is also possible to get low-level access to individual WebSocket frames if you need to write extensions or want to optimize around the WebSocket protocol.

Getting Started

Check out the examples.

Features

WS-RS provides a complete implementation of the WebSocket specification. There is also support for ssl and permessage-deflate.

Contributing

Please report bugs and make feature requests here.


*Note that all licence references and agreements mentioned in the ws-rs README section above are relevant to that project's source code only.