Searched refs:IsRequest (Results 1 – 2 of 2) sorted by relevance
433 VerifyOrExit(aRequest.IsRequest(), error = kErrorInvalidArgs); in SendHeaderResponse()478 if (message.IsRequest() && metadata.mObserve && metadata.mAcknowledged) in HandleRetransmissionTimer()1057 else if (message.IsRequest()) in Receive()1088 if (metadata.mObserve && request->IsRequest()) in ProcessReceivedResponse()1114 if (metadata.mObserve && !request->IsRequest()) in ProcessReceivedResponse()
684 bool IsRequest(void) const { return (GetCode() >= kCodeGet) && (GetCode() <= kCodeDelete); } in IsRequest() function in ot::Coap::Message