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
255 def initialize(block)
256   @block = block
257 end

Public Instance methods

write (data)
[show source]
    # File lib/httpx/request.rb
259 def write(data)
260   @block.call(data)
261   data.bytesize
262 end