Skip to content
WebSocket wrapper that runs both nativley and in WebGL for Unity.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Libraries Initial commit May 29, 2019
MLAPI.WebSockets Finalized client public API May 30, 2019
.gitignore Initial commit May 29, 2019
LICENCE Initial commit May 29, 2019
MLAPI.WebSockets.sln Fixed JSLIB inclusion May 30, 2019 Updated readme to reflect the server implementation May 29, 2019


MLAPI.WebSockets is a wrapper library that can wrap around websocket-sharp for native platforms or around the browsers JS interface for WebGL. Note that MLAPI.WebSockets is not an actual WebSocket implementation and will have all limitations of the two underlying wrapped implementations.

The implementation is based on Unitys implementation and these articles: Article 1, Article2.

Server functionality is only avalible through the native implementation and cannot be ran in the web browser. This is due to security restrictions put in place by modern web browsers.

You can’t perform that action at this time.