module Telnet::Command

Extended Modules

Defined in:

telnet/command.cr

Constant Summary

ABORT = 238_u8
AO = 245_u8
AYT = 246_u8
BREAK = 243_u8
DM = 242_u8
DO = 253_u8
DONT = 254_u8
EC = 247_u8
EL = 248_u8
EOF = 236_u8
EOR = 239_u8
GA = 249_u8
IAC = 255_u8
IP = 244_u8
IS = 0_u8
NOP = 241_u8
SB = 250_u8
SE = 240_u8
SEND = 1_u8
SUSP = 237_u8
WILL = 251_u8
WONT = 252_u8

Instance Method Summary

Instance Method Detail

def find_command(byte : UInt8) : String | Nil #

[View source]
def find_command(command : String) : UInt8 | Nil #

[View source]
def new_do(opt : UInt8) : Slice(UInt8) #

[View source]
def new_dont(opt : UInt8) : Slice(UInt8) #

[View source]
def new_subneg(opt : UInt8, data : Array(UInt8)) : Slice(UInt8) #

[View source]
def new_subneg_is(opt : UInt8, data : Array(UInt8)) : Slice(UInt8) #

[View source]
def new_subneg_send(opt : UInt8, data : Array(UInt8)) : Slice(UInt8) #

[View source]
def new_will(opt : UInt8) : Slice(UInt8) #

[View source]
def new_wont(opt : UInt8) : Slice(UInt8) #

[View source]