tursodatabase / libsql-client-ts

TypeScript/JavaScript client API for libSQL
https://docs.turso.tech/sdk/ts/quickstart
MIT License
226 stars 32 forks source link

Add methods to discover the used protocol #52

Closed honzasp closed 1 year ago

honzasp commented 1 year ago

For libsql: URLs, it might not always be clear which protocol is used at runtime. Add a method to Client to find out the protocol that is used (HTTP, WebSockets or a local file).