aboutsummaryrefslogtreecommitdiffstats
path: root/src/network_stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/network_stream.rs')
-rw-r--r--src/network_stream.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network_stream.rs b/src/network_stream.rs
index 8204458..80e7c11 100644
--- a/src/network_stream.rs
+++ b/src/network_stream.rs
@@ -24,7 +24,7 @@ pub fn network_stream() -> NetworkStream {
}
impl NetworkStream {
- pub fn fetch(&self, client: &Client) -> Result<String, Error> {
- client.fetch_stream("network/stream", &())
+ pub async fn fetch(&self, client: &Client) -> Result<String, Error> {
+ client.fetch_stream("network/stream", &()).await
}
}