{"id":23229267,"url":"https://github.com/woodgear/socketio-client-rust","last_synced_at":"2026-04-12T23:54:47.917Z","repository":{"id":87634099,"uuid":"189853145","full_name":"woodgear/socketio-client-rust","owner":"woodgear","description":"socketio-client-rust is rust implement of socket.io-client,which treat socket.io stream as future stream. ","archived":false,"fork":false,"pushed_at":"2019-06-02T14:00:31.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-03T23:46:29.144Z","etag":null,"topics":["rust","socket-io","socket-io-client"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/woodgear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2019-06-02T13:59:33.000Z","updated_at":"2022-10-28T08:26:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b5c11d6-8848-4291-913b-94fb3c51fe9c","html_url":"https://github.com/woodgear/socketio-client-rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/woodgear/socketio-client-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fsocketio-client-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fsocketio-client-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fsocketio-client-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fsocketio-client-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woodgear","download_url":"https://codeload.github.com/woodgear/socketio-client-rust/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woodgear%2Fsocketio-client-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31734350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["rust","socket-io","socket-io-client"],"created_at":"2024-12-19T01:17:43.663Z","updated_at":"2026-04-12T23:54:47.877Z","avatar_url":"https://github.com/woodgear.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SocketIo-Client-Rust\nsocketio-client-rust is rust implement of [socket.io-client](https://github.com/socketio/socket.io-client),which treat socket.io stream as future stream. \n\n# How to use\nyou could refer to examples/socketio_cli. to run this example you must launch a socket.io server under port 3000.\n```rust\n//some code\n\nfn run() -\u003e impl Future\u003cItem=(), Error=failure::Error\u003e {\n    const URL: \u0026'static str = \"ws://localhost:3000/socket.io/?EIO=3\u0026transport=websocket\";\n\n    let runner = SocketIoStream::new(URL)\n        .unwrap()\n        .and_then(|ss: SocketIoStream| {\n            let (sink, ss_stream) = ss.split();\n            let f1 = socket_io_control_stream().forward(sink).map(|(_, _)| ());\n            let f2 = ss_stream.for_each(|e| {\n                println!(\"event {:?}\", e);\n                Ok(())\n            });\n            let f = f1.join(f2).map(|(_, _)| ());\n            return f;\n        });\n    return runner;\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodgear%2Fsocketio-client-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoodgear%2Fsocketio-client-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoodgear%2Fsocketio-client-rust/lists"}