CoapRequestFuture.get

Blocks until the response is received

  1. CoapPacket get()
    class CoapRequestFuture
    CoapPacket
    get
    ()
  2. CoapPacket get(Duration timeout)

Return Value

Type: CoapPacket

the response as a CoapPacket

Throws

CoapClientException on cancelled request

Meta