ConfigBuilder.UseRest.GetUri method Creates the Uri used for the rpc websocket based on the specified EndPoint. public static Uri GetUri(EndPoint endPoint, bool insecure = false) See Also class UseRest namespace SurrealDB.Configuration