package docker-api
Module Docker.StreamSource
A stream returned by some Docker functions.
out stream may be used to send data to the process running in the container. Closing this channel is equivalent to calling close.
shutdown stream transmit an end-of-file condition to the server reading on the other side of the connection meaning that you have finished sending data. You can still read data from the string. You must still close the string with close.
read stream reads the next payload from the stream. The byte sequence will be empty if there is nothing to read at the time of the call (in particular, if everything has been read).