class Pipe::Handle
- Pipe::Handle
- Reference
- Object
Defined in:
pipe/handle.crConstant Summary
-
BUFFER_LINE_SEPARATOR =
'\n'.ord -
BUFFER_SIZE =
20000 -
CLIENTS_CONNECTED =
RWLock.new -
CONNECTED_BANNER =
"CONNECTED <Caster v#{Caster::VERSION}>" -
LINE_END_GAP =
1 -
LINE_FEED =
"\r\n" -
MAX_LINE_SIZE =
(BUFFER_SIZE + LINE_END_GAP) + 1 -
PROTOCOL_REVISION =
1 -
TCP_TIMEOUT_NON_ESTABLISHED =
10
Class Method Summary
- .client(stream, run_loop = true)
- .configure_stream(stream, is_established : Bool)
- .ensure_start(stream)
- .handle_stream(mode, stream, max_line_size = MAX_LINE_SIZE, run_loop = true)
- .total_clients