[][src]Function openthread_sys::otCoapMessageInit

pub unsafe extern "C" fn otCoapMessageInit(
    aMessage: *mut otMessage,
    aType: otCoapType,
    aCode: otCoapCode
)

This function initializes the CoAP header.

@param[inout] aMessage A pointer to the CoAP message to initialize. @param[in] aType CoAP message type. @param[in] aCode CoAP message code.