File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
#include <coap3/coap.h>
11
- #include <coap_config.h>
11
+ #include <coap_config.h>
Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ pub trait CoapEventHandler: Debug {
153
153
fn handle_ws_packet_size ( & mut self , session : & mut CoapSession ) { }
154
154
155
155
/// Handle a WebSocket layer up event.
156
-
157
156
#[ allow( unused_variables) ]
158
157
fn handle_ws_connected ( & mut self , session : & mut CoapSession ) { }
159
158
@@ -162,7 +161,6 @@ pub trait CoapEventHandler: Debug {
162
161
#[ allow( unused_variables) ]
163
162
fn handle_ws_closed ( & mut self , session : & mut CoapSession ) { }
164
163
165
-
166
164
/// Handle a failure to perform a keepalive (no response to keepalive packet)
167
165
#[ allow( unused_variables) ]
168
166
fn handle_keepalive_failure ( & mut self , session : & mut CoapSession ) { }
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ impl CoapResponse {
151
151
///
152
152
/// This option can be used by servers to ensure that a request is recent.
153
153
///
154
- /// The client should include the provided request in its response .
154
+ /// The client should include the provided option value in its next request .
155
155
///
156
156
/// As handling echo options on the client side is done automatically by libcoap, this option
157
157
/// is not accessible in [CoapRequest], see `man coap_send` for more information.
You can’t perform that action at this time.
0 commit comments