module Body
Nested Classes and Modules
class BufferedA body which buffers all its contents.
class CompletableInvokes a callback once the body has completed, either successfully or due to an error.
class ZStreamA body which compresses or decompresses the contents using the DEFLATE or GZIP algorithm.
class DeflateA body which compresses the contents using the DEFLATE or GZIP algorithm.
class DigestableInvokes a callback once the body has finished reading.
class FileA body which reads from a file.
class HeadRepresents a body suitable for HEAD requests, in other words, a body that is empty and has a known length.
class InflateA body which decompresses the contents using the DEFLATE or GZIP algorithm.
class ReadableRepresents a readable input streams.
module ReaderGeneral operations for interacting with a request or response body.
class RewindableA body which buffers all its contents as it is read.
class StreamThe input stream is an IO-like object which contains the raw HTTP POST data. When applicable, its external encoding must be "ASCII-8BIT" and it must be opened in binary mode, for Ruby 1.9 compatibility. The input stream must respond to gets, each, read and rewind.
module StreamableA body that invokes a block that can read and write to a stream.
class WrapperWrapping body instance. Typically you'd override
#read.class WritableA dynamic body which you can write to and read from.