{"repo":"mikerochip/unity-websocket","free":true,"listed":false,"github":"https://github.com/mikerochip/unity-websocket","clone":"git clone https://github.com/mikerochip/unity-websocket.git","description":"Ergonomic WebSocket client for Unity. No async/await required.","language":"C#","stars":132,"topics":["unity","unity-package","websocket","websocket-client"],"license":null,"category":"game-templates","readme_excerpt":"WebSocketConnection WebSocketConnection is an ergonomic, idiomatic websocket client for Unity. Write-once for all platforms, including Web. Ergonomics Does not force you to use async Does not force you to use #if conditional compilation Listen for messages however you want: events, coroutines, polling, or async/await Reliability Reusable: connect, disconnect, change URL, connect, ... string is sent as text type, byte[] as binary type Proper handling of disconnects and bad messages Tested with 100+ WebSocketConnection components with minimal drop in framerate Extended Features Custom ping-pongs which can be configured to calculate ping times. ℹ️ You must control the server for this. Self-signed certificate support. ⚠️ Non-Web only, must use .NET Framework Api level. Why Use This? WebSocketConnection has the most ergonomic, write-once support across platforms: Supports WebSocketConnection NativeWebSocket System.Net.WebSockets.ClientWebSocket ---------------------- --------------------- ----------------- --------------------------------------- WebGL ✅ ✅ ⛔️ Need custom jslib WebAssembly.Table ✅ ✅ ⛔️ Optional async ✅ ⛔️ ⛔️ Self-signed certs ✅ non-Web ⛔️ ✅ non-Web Write-once ping-pong ✅ ⛔️ ⛔️ Installation See official instructions for how to Install a Package from a Git URL. The URL is https://github.com/mikerochip/unity-websocket.git Known Limitations Self-Signed Certs Only works in editor and non-web builds Required Api Compatibility Level .NET Framework Requires lots of fiddly s","default_branch":null,"files":null,"tree":[],"storefront":"/r/mikerochip","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mikerochip/unity-websocket/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}