class HTTPX::Request::ProcIO

  1. lib/httpx/request.rb
Superclass: Object

Methods

Public Class

  1. new

Public Instance

  1. write

Public Class methods

new (block)
[show source]
    # File lib/httpx/request.rb
261 def initialize(block)
262   @block = block
263 end

Public Instance methods

write (data)
[show source]
    # File lib/httpx/request.rb
265 def write(data)
266   @block.call(data)
267   data.bytesize
268 end