LATEST LICENSE NEWS README
HTTP_Spew ChunkyPipe ClassMethods ContentMD5 Headers HitNRun InputSpray Request

Methods

#check_err! #read

class HTTP_Spew::ChunkyPipe

This is a OS-level pipe that overrides IO#read to provide IO#readpartial-like semantics while remaining Rack::Lint-compatible for EOF, meaning we return nil on EOF instead of raising EOFError.

Attributes

error [RW]

other threads may force an error to be raised in the read method

Public Instance Methods

check_err! () source
read (len = 16384, buf = '') source

Override IO#read to behave like IO#readpartial, but still return nil on EOF instead of raising EOFError.

Parent: IO
Pages Classes Methods


mail archives: https://yhbt.net/http_spew-public/
	 
	 
public: http_spew-public@yhbt.net
source code: git clone https://yhbt.net/http_spew.git