[−][src]Function libcoap_sys::coap_wellknown_response
pub unsafe extern "C" fn coap_wellknown_response(
context: *mut coap_context_t,
session: *mut coap_session_t,
request: *mut coap_pdu_t
) -> *mut coap_pdu_t
Creates a new response for given @p request with the contents of @c .well-known/core. The result is NULL on error or a newly allocated PDU that must be either sent with coap_sent() or released by coap_delete_pdu().
@param context The current coap context to use. @param session The CoAP session. @param request The request for @c .well-known/core .
@return A new 2.05 response for @c .well-known/core or NULL on error.