#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_coap_server_recv(
server: *mut PamojaCoapServer,
out_message: *mut *mut PamojaMessage,
) -> PamojaStatusExpand description
Waits for the next reading sent to a path the server takes.
§Arguments
server- the server.out_message- receives a message handle to release withpamoja_message_free.
§Returns
PamojaStatus::Ok with a message, or PamojaStatus::Closed if the server is
not connected.
§Safety
server must be a live handle and out_message must be writable.