abstract class PlaceOS::Driver::Transport
- PlaceOS::Driver::Transport
- Reference
- Object
Direct Known Subclasses
- PlaceOS::Driver::TransportHTTP
- PlaceOS::Driver::TransportLogic
- PlaceOS::Driver::TransportSSH
- PlaceOS::Driver::TransportTCP
- PlaceOS::Driver::TransportUDP
- PlaceOS::Driver::TransportWebsocket
Defined in:
placeos-driver/transport.crMacro Summary
Instance Method Summary
- #before_request(&before_request : HTTP::Request -> )
- #client_cert_file : String
- #connect(connect_timeout : Int32) : Nil
- #cookies : HTTP::Cookies
- #disconnect : Nil
-
#exec(message) : SSH2::Channel
Only SSH implements exec
-
#http_uri_override : URI | Nil
for non-http drivers to define a non-default http endpoint
-
#http_uri_override=(http_uri_override : URI | Nil)
for non-http drivers to define a non-default http endpoint
-
#logger(*args, **options)
Use
#logger
ofDriver::Queue
-
#logger(*args, **options, &)
Use
#logger
ofDriver::Queue
- #pre_processor : Bytes -> Bytes | Nil | Nil
- #pre_processor(&pre_processor : Bytes -> Bytes | Nil)
- #pre_processor=(pre_processor : Bytes -> Bytes | Nil | Nil)
- #private_key_file : String
- #proxy_in_use : String | Nil
- #send(message) : PlaceOS::Driver::Transport
- #send(message, task : PlaceOS::Driver::Task, &_block : Bytes, PlaceOS::Driver::Task -> Nil) : PlaceOS::Driver::Transport
- #start_tls(verify_mode : OpenSSL::SSL::VerifyMode, context : OpenSSL::SSL::Context) : Nil
- #terminate : Nil
- #tokenizer : Tokenizer | Nil
- #tokenizer=(tokenizer : Tokenizer | Nil)
Macro Detail
Instance Method Detail
def http_uri_override=(http_uri_override : URI | Nil)
#
for non-http drivers to define a non-default http endpoint
abstract
def send(message, task : PlaceOS::Driver::Task, &_block : Bytes, PlaceOS::Driver::Task -> Nil) : PlaceOS::Driver::Transport
#
abstract
def start_tls(verify_mode : OpenSSL::SSL::VerifyMode, context : OpenSSL::SSL::Context) : Nil
#