{"repo":"James-Frowen/SimpleWebTransport","free":true,"listed":false,"github":"https://github.com/James-Frowen/SimpleWebTransport","clone":"git clone https://github.com/James-Frowen/SimpleWebTransport.git","description":"WebSocket Server and client for unity designed for Mirror Networking","language":"C#","stars":78,"topics":["unity","unity3d","webgl","websocket","websocket-server","websocket-client","game","networking","mirror","mirror-networking"],"license":"MIT","category":"game-templates","readme_excerpt":"Simple Web Transport Low level Websocket Transport use by Mirror and Mirage This Transport uses the websocket protocol. This allows this transport to be used in WebGL builds of unity. Includes a Websocket server, standalone client, and a WebGL client so that both your Server and Client can be build with Unity. Download UnityPackage 1) Download the code from the source folder or package on Release page. 2) Put the code somewhere in your Assets folder Git URL If you prefer to install a specific version or hash directly from GitHub, you can add the following line to your Packages/manifest.json file under the dependencies section: openUPM 1) Add openupm registry. Click on the menu Edit - Project settings..., and add a scoped registry like so: Name: OpenUPM Url: https://package.openupm.com Scopes: - com.james-frowen 2) Close the project settings 3) Open the package manager. 4) Click on menu Window - Package Manager and select \"Packages: My Registries\", 5) select the latest version of SimpleWebTransport and click install, like so: 6) You may come back to the package manager to unistall SimpleWebTransport or upgrade it. Or add to Packages/manifest.json Usage Below are some examples of how to set up a server and client so that they will connect and low any message sent between them Server Client Send message to Server Once the client is connected (after the onConnect event or check ConnectionState .) message can be sent Most of the time you will want to create a message Id so that th","default_branch":null,"files":null,"tree":[],"storefront":"/r/James-Frowen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/James-Frowen/SimpleWebTransport/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."}