abstract class
Cradare2::Transport::Base
- Cradare2::Transport::Base
- Reference
- Object
Overview
Base abstract class for all radare2 communication transports.
Direct Known Subclasses
- Cradare2::Transport::HttpTransport
- Cradare2::Transport::InSessionTransport
- Cradare2::Transport::MockTransport
- Cradare2::Transport::ProcessTransport
- Cradare2::Transport::TcpTransport
Defined in:
cradare2/transport/transport.crInstance Method Summary
-
#close : Nil
Closes the transport and releases any associated resources.
-
#closed? : Bool
Returns true if the transport has been closed.
-
#cmd(command : String) : String
Executes a command string in radare2 and returns the response string.
-
#timeout : Time::Span | Nil
Optional timeout for command execution.
-
#timeout=(timeout : Time::Span | Nil)
Optional timeout for command execution.
Instance Method Detail
abstract
def cmd(command : String) : String
#
Executes a command string in radare2 and returns the response string.