class

PlaceOS::Driver::Transport

Inherits Reference < Object

Only SSH transports implement exec, the default is defined here so the base Transport class has no dependency on the ssh2 library

Class methods

default_tls
Source
insecure_tls
Source
secure_tls
Source
tls_context_mutex
Source

Instance methods

before_request

NOTE:: overloaded in transport/http

Source
ca_certificates_file
Source
client_cert_file
Source
connect(connect_timeout : Int32) : Nil
Source
cookies
Source
disconnect
Source
exec(message) : SSH2::Channel
Source
http_uri_override

for non-http drivers to define a non-default http endpoint

Source
http_uri_override=(http_uri_override : URI | Nil)

for non-http drivers to define a non-default http endpoint

Source
logger(*args, **options)

Use logger of Driver::Queue

Source
logger(*args, **options, &)

Use logger of Driver::Queue

Source
pre_processor
Source
pre_processor
Source
pre_processor=(pre_processor : Bytes -> Bytes | Nil | Nil)
Source
private_key_file
Source
proxy_in_use
Source
send(message, task : PlaceOS::Driver::Task, &_block : Bytes, PlaceOS::Driver::Task -> Nil) : PlaceOS::Driver::Transport
Source
terminate
Source
tokenizer
Source
tokenizer=(tokenizer : Tokenizer | Nil)
Source

Macros

__build_http_helper__
Source