Skip to content
Snippets Groups Projects
Commit 6049d9f6 authored by James Munns's avatar James Munns
Browse files

Fix README (again)

parent f3aae2f4
Branches
No related tags found
No related merge requests found
......@@ -37,7 +37,9 @@ use coap::{CoAPServer, CoAPResponse, CoAPRequest};
fn request_handler(req: CoAPRequest) -> Option<CoAPResponse> {
println!("Receive request: {:?}", req);
response
// Return the auto-generated response
req.response
}
fn main() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment