The class SurrealWebSocketConnection is unnecessary. We should instead use URI's which also support custom protocols for tikv:// and memory. Probably can just use URI instead.
On top of that, the connection should not "connect". The driver connects using the address. The OOP model is unusual.
The class
SurrealWebSocketConnection
is unnecessary. We should instead use URI's which also support custom protocols fortikv://
andmemory
. Probably can just useURI
instead. On top of that, the connection should not "connect". The driver connects using the address. The OOP model is unusual.