abstract class PlaceOS::Driver::Transport

Direct Known Subclasses

Defined in:

placeos-driver/transport.cr

Macro Summary

Instance Method Summary

Macro Detail

macro __build_http_helper__ #

[View source]

Instance Method Detail

def before_request(&before_request : HTTP::Request -> ) #

[View source]
def client_cert_file : String #

[View source]
abstract def connect(connect_timeout : Int32) : Nil #

[View source]
def cookies : HTTP::Cookies #

[View source]
abstract def disconnect : Nil #

[View source]
def exec(message) : SSH2::Channel #

Only SSH implements exec


[View source]
def http_uri_override : URI | Nil #

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


[View source]
def http_uri_override=(http_uri_override : URI | Nil) #

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


[View source]
def logger(*args, **options) #

[View source]
def logger(*args, **options, &) #

[View source]
def pre_processor : Bytes -> Bytes | Nil | Nil #

[View source]
def pre_processor(&pre_processor : Bytes -> Bytes | Nil) #

[View source]
def pre_processor=(pre_processor : Bytes -> Bytes | Nil | Nil) #

[View source]
def private_key_file : String #

[View source]
def proxy_in_use : String | Nil #

[View source]
abstract def send(message) : PlaceOS::Driver::Transport #

[View source]
abstract def send(message, task : PlaceOS::Driver::Task, &_block : Bytes, PlaceOS::Driver::Task -> Nil) : PlaceOS::Driver::Transport #

[View source]
abstract def start_tls(verify_mode : OpenSSL::SSL::VerifyMode, context : OpenSSL::SSL::Context) : Nil #

[View source]
abstract def terminate : Nil #

[View source]
def tokenizer : Tokenizer | Nil #

[View source]
def tokenizer=(tokenizer : Tokenizer | Nil) #

[View source]