CoAP::Client
Constructors
Instance methods
before_request
Sourcebefore_transmit
Sourcecheck_for_timeouts
Sourceclose
Sourceclosed?
SourceTODO:: allow this to handle multiple requests at once, including observes requires channels for each message_id and a fiber for response processing
finalize
Sourcehost
Sourceport
Sourceprocess_message(message : CoAP::Message)
Sourceread_timeout=(read_timeout : Number)
Sets the number of seconds to wait when reading before raising an IO::TimeoutError.
read_timeout=(read_timeout : Time::Span)
Sets the read timeout with a Time::Span, to wait when reading before raising an IO::TimeoutError.
tls
Sourcetls?
Source