Custom URL Scheme
Medis supports medis:
and mediss:
URLs for quickly opening Redis connections.
For example, medis://localhost:6379
will open Medis and connect to the server at localhost
on port 6379
.
You can specify the database index via the path. For example, to switch to database 2, you would use medis://localhost:6379/2
.
Username and password are also supported. Use medis://username:password@localhost:6379
to include both username and password, or simply medis://password@localhost:6379
if you want to omit the username.
mediss:
is similar to medis:
, but it enables SSL for a secure connection.
Last updated