{"id":15580177,"url":"https://github.com/reiiyuki/socketiomanager-unity","last_synced_at":"2026-05-06T08:36:37.730Z","repository":{"id":92050787,"uuid":"123704014","full_name":"ReiiYuki/SocketIOManager-Unity","owner":"ReiiYuki","description":"Event based Communnication Manger for SocketIO","archived":false,"fork":false,"pushed_at":"2018-03-04T08:18:51.000Z","size":178,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-07T12:03:55.074Z","etag":null,"topics":["event-driven","events","socket-io","socketio","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","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/ReiiYuki.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2018-03-03T15:23:47.000Z","updated_at":"2019-05-25T13:04:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f538f40-2230-45a0-b04e-3df2fa70d50b","html_url":"https://github.com/ReiiYuki/SocketIOManager-Unity","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ReiiYuki/SocketIOManager-Unity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReiiYuki%2FSocketIOManager-Unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReiiYuki%2FSocketIOManager-Unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReiiYuki%2FSocketIOManager-Unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReiiYuki%2FSocketIOManager-Unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReiiYuki","download_url":"https://codeload.github.com/ReiiYuki/SocketIOManager-Unity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReiiYuki%2FSocketIOManager-Unity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32685033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"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":["event-driven","events","socket-io","socketio","unity"],"created_at":"2024-10-02T19:23:26.676Z","updated_at":"2026-05-06T08:36:37.710Z","avatar_url":"https://github.com/ReiiYuki.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SocketIO Manager Unity\n\nEvent based Communnication Manger for SocketIO\n\n## Usage\n\n* Drag SocketIO Manager from `Assets\\SocketIOManager\\Prefabs\\SocketIO Manager.prefab` to Unity Scene\n* Write event handler script and register it to Socket Manager\n\n## Binding Event Example\n\n```cs\nusing Facebook.Unity;\nusing System.Collections.Generic;\nusing UnityEngine;\nusing SocketIO;\nusing SocketIOManager;\n\nnamespace ARTag\n{\n    public class ExampleEventHandler : SocketManager\n    {\n\n        SocketManager socket;\n        \n        const string SAMPLE_EVENT = \"sample\";\n        \n        // Use this for initialization\n        void Start()\n        {\n            socket = GameObject.FindObjectOfType\u003cSocketManager\u003e();\n            socket.Register(gameObject);\n            socket.On(SAMPLE_EVENT, OnSampleEvent);\n        }\n\n        void OnSampleEvent(SocketIOEvent e)\n        {\n            // Do something\n            socket.Emit(SAMPLE_EVENT, sampleData);\n        }\n\n        void OnConnectionOpen(){\n            // Do something when connection is openned.\n        }\n        \n        void OnConnectionClose(){\n            // Do something when connection is closed.\n        }\n        \n        void OnConnectionError(){\n            // Do something when connection is error.\n        }\n    }\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiiyuki%2Fsocketiomanager-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freiiyuki%2Fsocketiomanager-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiiyuki%2Fsocketiomanager-unity/lists"}