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