Method: Docker::Util.attach_for
- Defined in:
- lib/docker/util.rb
.attach_for(block, msg_stack, tty = false) ⇒ Object
Attaches to a HTTP stream
16 17 18 19 20 21 22 23 |
# File 'lib/docker/util.rb', line 16 def attach_for(block, msg_stack, tty = false) # If TTY is enabled expect raw data and append to stdout if tty attach_for_tty(block, msg_stack) else attach_for_multiplex(block, msg_stack) end end |