PlaceOS::Driver::TransportLogic
Inherits PlaceOS::Driver::Transport < Reference < Object
Constructors
new(queue : PlaceOS::Driver::Queue)
SourceInstance methods
connect(connect_timeout : Int32 = 0) : Nil
Sourcedisconnect
Sourceenable_multicast_loop(state = true)
http(method, path, body : HTTP::Client::BodyType = nil, params : Hash(String, String | Nil) | URI::Params = URI::Params.new, headers : Hash(String, String) | HTTP::Headers = HTTP::Headers.new, secure = false, concurrent = true) : HTTP::Client::Response
send(message) : PlaceOS::Driver::TransportLogic
Sourcesend(message, task : PlaceOS::Driver::Task, &_block : Bytes, PlaceOS::Driver::Task -> Nil) : PlaceOS::Driver::TransportLogic
Sourceterminate
Source