lib/async/http/body/writable.rb in async-http-0.40.3 vs lib/async/http/body/writable.rb in async-http-0.41.0
- old
+ new
@@ -16,16 +16,17 @@
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-require_relative 'readable'
-
+require 'protocol/http/body/readable'
require 'async/queue'
module Async
module HTTP
module Body
+ include ::Protocol::HTTP::Body
+
# A dynamic body which you can write to and read from.
class Writable < Readable
class Closed < StandardError
end