class
Cradare2::Transport::TcpTransport
- Cradare2::Transport::TcpTransport
- Cradare2::Transport::Base
- Reference
- Object
Overview
Communicates with a radare2 instance over a raw TCP socket (e.g., tcp://localhost:9090).
Defined in:
cradare2/transport/tcp.crConstructors
Instance 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.
- #uri : URI
Instance methods inherited from class Cradare2::Transport::Base
close : Nil
close,
closed? : Bool
closed?,
cmd(command : String) : String
cmd,
timeout : Time::Span | Nil
timeout,
timeout=(timeout : Time::Span | Nil)
timeout=
Constructor Detail
Instance Method Detail
def close : Nil
#
Description copied from class Cradare2::Transport::Base
Closes the transport and releases any associated resources.
def closed? : Bool
#
Description copied from class Cradare2::Transport::Base
Returns true if the transport has been closed.
def cmd(command : String) : String
#
Description copied from class Cradare2::Transport::Base
Executes a command string in radare2 and returns the response string.