module ACP::Protocol::ClientMethod

Defined in:

acp/protocol/client_methods.cr

Constant Summary

FS_READ_TEXT_FILE = "fs/read_text_file"

File system methods.

FS_WRITE_TEXT_FILE = "fs/write_text_file"
SESSION_REQUEST_PERMISSION = "session/request_permission"

Permission request method.

TERMINAL_CREATE = "terminal/create"

Terminal methods.

TERMINAL_KILL = "terminal/kill"
TERMINAL_OUTPUT = "terminal/output"
TERMINAL_RELEASE = "terminal/release"
TERMINAL_WAIT_FOR_EXIT = "terminal/wait_for_exit"

Class Method Summary

Class Method Detail

def self.fs_method?(method : String) : Bool #

Returns true if the given method name is a file system method.


[View source]
def self.known?(method : String) : Bool #

Returns true if the given method name is a known client method.


[View source]
def self.terminal_method?(method : String) : Bool #

Returns true if the given method name is a terminal method.


[View source]