diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-01-03 23:42:37 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-01-03 23:42:37 +0100 |
commit | 970df3ea4169eb2fe935a0f50012503079b8636d (patch) | |
tree | 4b339e01e957ecf63e7a0d9a67ceabc77496e3d3 /src/client.rs | |
parent | 0c76f0c9727a512475e29b5d099b5b7188f72052 (diff) | |
download | rust-zotapi-970df3ea4169eb2fe935a0f50012503079b8636d.tar.gz rust-zotapi-970df3ea4169eb2fe935a0f50012503079b8636d.tar.bz2 rust-zotapi-970df3ea4169eb2fe935a0f50012503079b8636d.zip |
Make channel and network stream behave like the rest.
Diffstat (limited to 'src/client.rs')
-rw-r--r-- | src/client.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client.rs b/src/client.rs index dc6cf43..fcafed3 100644 --- a/src/client.rs +++ b/src/client.rs @@ -43,14 +43,6 @@ impl Client { } } - pub fn channel_stream(&self) -> Result<String, Error> { - self.fetch_stream("channel/stream", &()) - } - - pub fn network_stream(&self) -> Result<String, Error> { - self.fetch_stream("network/stream", &()) - } - fn url<T>(&self, path: &str, args: &T) -> String where T: Serialize + std::fmt::Debug, |