module Cradare2::Plugin::Server

Overview

Sustained interactive command dispatch loop for radare2 pipe sessions (#!pipe).

Reads command lines from an input IO, dispatches them through the CommandDispatcher, and writes responses to the output IO until termination or EOF.

Defined in:

cradare2/plugin/server.cr

Class Method Summary

Class Method Detail

def self.run(dispatcher : CommandDispatcher | Router, in_io : IO = STDIN, out_io : IO = STDOUT) : Nil #

Runs the interactive dispatch loop reading from in_io and writing to out_io.


[View source]