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
234 def initialize(block)
235   @block = block
236 end

Public Instance methods

write (data)
[show source]
    # File lib/httpx/request.rb
238 def write(data)
239   @block.call(data)
240   data.bytesize
241 end