ot::Coap::Message::ReadUriPathOptions() const method
Reads the Uri-Path options and constructs the URI path in the buffer referenced by @p `aUriPath`.
Arguments
aUriPath
A reference to the buffer for storing URI path. NOTE: The buffer size must be `kMaxReceivedUriPath + 1`.
Return value
kErrorNone Successfully read the Uri-Path options. kErrorParse CoAP Option header not well-formed.