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

Fix README

parent 0fd7abea
No related branches found
No related tags found
No related merge requests found
......@@ -36,9 +36,9 @@ use std::io;
use coap::packet::*;
use coap::{CoAPServer, CoAPClient};
fn request_handler(req: Packet) -> Option<Packet> {
fn request_handler(req: Packet, response: Option<Packet>) -> Option<Packet> {
println!("Receive request: {:?}", req);
None
response
}
fn main() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment