Expand description
Standard I/O (stdin/stdout/stderr) protocol actions implementation.
Platform: Unix/Linux/macOS only. NetGet itself becomes the child process behind a pipe
(someprogram | netget ... | otherprogram): it reads lines from its own stdin, and the model
decides what to emit on stdout/stderr in response.
Structs§
- Stdio
Protocol - Standard I/O protocol action handler.
Statics§
- CLOSE_
STDIO_ ACTION - STDIO_
INPUT_ CLOSED_ EVENT - stdio input closed event - raised when stdin reaches EOF (the upstream program closed the pipe).
- STDIO_
INPUT_ RECEIVED_ EVENT - stdio input received event - raised for each chunk read from stdin.
- STDIO_
STARTED_ EVENT - stdio started event - raised once at startup when
send_firstis set, so the model can emit a banner before any input (same conditional pattern assocket_file_connection_opened). - WRITE_
STDERR_ ACTION - WRITE_
STDOUT_ ACTION
Functions§
- get_
stdio_ event_ types - Get stdio event types.