Type Alias riot_sys::coap_request_ctx_t
source · pub type coap_request_ctx_t = _coap_request_ctx;
Expand description
@brief CoAP resource request handler context @internal
Aliased Type§
struct coap_request_ctx_t {
pub resource: *const coap_resource_t,
pub remote: *mut _sock_tl_ep,
pub tl_type: u32,
}
Fields§
§resource: *const coap_resource_t
< resource of the request
remote: *mut _sock_tl_ep
< remote endpoint of the request
tl_type: u32
@brief transport the packet was received over @see @ref gcoap_socket_type_t for values. @note @ref gcoap_socket_type_t can not be used, as this would cyclically include the @ref net_gcoap header.