This parameter can be used to opt out of TLS when using libsql: URL. It is also possible to use it with HTTP and WebSocket URLs, but in this case we just check that it matches the existing scheme (i.e., https://localhost?tls=0 throws an error). We also require every libsql: URL with ?tls=0 to specify an explicit port, because the default port for libsql: URL is 443, which could produce unexpected results.
This parameter can be used to opt out of TLS when using
libsql:
URL. It is also possible to use it with HTTP and WebSocket URLs, but in this case we just check that it matches the existing scheme (i.e.,https://localhost?tls=0
throws an error). We also require everylibsql:
URL with?tls=0
to specify an explicit port, because the default port forlibsql:
URL is 443, which could produce unexpected results.