WebSocketTransport(url: String, ignoreFailure: Boolean = false)
The native side of this class keeps a global reference to the instance on the C-side Remember to call cleanup() when it's no longer needed.