Skip to content

Commit 4b066a7

Browse files
authored
client: support hstreams (#86)
1 parent 816011d commit 4b066a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/hstreamdb/src/client.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ impl Client {
4444
url_scheme.to_string(),
4545
Url::parse(format!("{url_scheme}{server_url}").as_str())?,
4646
)
47+
} else if url.scheme() == "hstreams" {
48+
let url_scheme = "https";
49+
(
50+
url_scheme.to_string(),
51+
Url::parse(format!("{url_scheme}{server_url}").as_str())?,
52+
)
4753
} else {
4854
(url.scheme().to_string(), url)
4955
}

0 commit comments

Comments
 (0)