{"id":13440280,"url":"https://github.com/housleyjk/ws-rs","last_synced_at":"2025-04-10T15:43:12.101Z","repository":{"id":1210267,"uuid":"41573494","full_name":"housleyjk/ws-rs","owner":"housleyjk","description":"Lightweight, event-driven WebSockets for Rust.","archived":false,"fork":false,"pushed_at":"2023-08-18T15:15:57.000Z","size":553,"stargazers_count":1490,"open_issues_count":124,"forks_count":222,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-03T08:05:26.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/housleyjk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-08-28T23:29:01.000Z","updated_at":"2025-03-09T08:34:37.000Z","dependencies_parsed_at":"2024-01-30T04:03:18.504Z","dependency_job_id":null,"html_url":"https://github.com/housleyjk/ws-rs","commit_stats":{"total_commits":239,"total_committers":38,"mean_commits":"6.2894736842105265","dds":0.4853556485355649,"last_synced_commit":"c0a745d22836e89dacb95ee46e520466e1860888"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/housleyjk%2Fws-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/housleyjk%2Fws-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/housleyjk%2Fws-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/housleyjk%2Fws-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/housleyjk","download_url":"https://codeload.github.com/housleyjk/ws-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248243497,"owners_count":21071054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T03:01:21.297Z","updated_at":"2025-04-10T15:43:12.077Z","avatar_url":"https://github.com/housleyjk.png","language":"Rust","funding_links":[],"categories":["Libraries","Rust","库 Libraries","库"],"sub_categories":["Web programming","网络编程 Web programming","网页编程","web编程 Web programming"],"readme":"# WS-RS\n\nLightweight, event-driven WebSockets for [Rust](https://www.rust-lang.org).\n```rust\n\n/// A WebSocket echo server\nlisten(\"127.0.0.1:3012\", |out| {\n    move |msg| {\n        out.send(msg)\n    }\n})\n```\n\nIntroduction\n------------\n[![Build Status](https://travis-ci.org/housleyjk/ws-rs.svg?branch=stable)](https://travis-ci.org/housleyjk/ws-rs)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)\n[![Crate](http://meritbadge.herokuapp.com/ws)](https://crates.io/crates/ws)\n\n**[Homepage](https://github.com/housleyjk/ws-rs/)**\n\n**[API Documentation](https://docs.rs/ws/latest/ws/index.html)**\n\nThis library provides an implementation of WebSockets,\n[RFC6455](https://tools.ietf.org/html/rfc6455) using [MIO](https://github.com/carllerche/mio). It\nallows for handling multiple connections on a single thread, and even spawning new client\nconnections on the same thread. This makes for very fast and resource efficient WebSockets. The API\ndesign abstracts away the menial parts of the WebSocket protocol and allows you to focus on\napplication code without worrying about protocol conformance. However, it is also possible to get\nlow-level access to individual WebSocket frames if you need to write extensions or want to optimize\naround the WebSocket protocol.\n\nGetting Started\n---------------\n\nCheck out the [examples](https://github.com/housleyjk/ws-rs/blob/master/examples/server.rs).\n\n\nFeatures\n--------\n\nWS-RS provides a complete implementation of the WebSocket specification. There is also support for\n[ssl](https://github.com/housleyjk/ws-rs/blob/master/examples/ssl-server.rs) and\n[permessage-deflate](https://github.com/housleyjk/ws-rs/blob/master/examples/autobahn-server.rs).\n\nContributing\n------------\n\nPlease report bugs and make feature requests [here](https://github.com/housleyjk/ws-rs/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhousleyjk%2Fws-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhousleyjk%2Fws-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhousleyjk%2Fws-rs/lists"}