WsClient class
The client used to connect to the Surreal server via JSON RPC.
Public Members
| name | description |
|---|---|
| WsClient() | The default constructor. |
| Connected { get; } | Indicates whether the client is connected or not. |
| Close(…) | Closes the connection to the Surreal server. |
| Dispose() | |
| DisposeAsync() | |
| Open(…) | Opens the connection to the Surreal server. |
| Send(…) | Sends the specified request to the Surreal server, and returns the response. |
| static readonly EmptyList | |
| static GetRandomId(…) | Generates a random base64 string of the length specified. |
| struct Error | |
| struct Notify | |
| struct Request | |
| struct Response |
See Also
- namespace SurrealDB.Ws
- WsClient.cs