class Async::HTTP::Body::Pipe
def initialize(input, output = Writable.new, task: Task.current)
def initialize(input, output = Writable.new, task: Task.current) @input = input @output = output head, tail = IO::Socket.pair(Socket::AF_UNIX, Socket::SOCK_STREAM) @head = Async::IO::Stream.new(head) @tail = tail @reader = nil @writer = nil task.async(&self.method(:reader)) task.async(&self.method(:writer)) end