Skip to content
Snippets Groups Projects
Commit 430bdf5b authored by Covertness's avatar Covertness
Browse files

missing /

parent e90dea38
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ impl CoAPClient { ...@@ -43,7 +43,7 @@ impl CoAPClient {
}) })
} }
// Execute a request with the coap url and a specific timeout. Default timeout is 5s. /// Execute a request with the coap url and a specific timeout. Default timeout is 5s.
pub fn request_with_timeout(url: &str, timeout: Option<Duration>) -> Result<Packet> { pub fn request_with_timeout(url: &str, timeout: Option<Duration>) -> Result<Packet> {
let mut url_parser = UrlParser::new(); let mut url_parser = UrlParser::new();
url_parser.scheme_type_mapper(Self::coap_scheme_type_mapper); url_parser.scheme_type_mapper(Self::coap_scheme_type_mapper);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment