Module: HTTPX::Transcoder::Chunker

Defined in:
lib/httpx/transcoder/chunker.rb

Defined Under Namespace

Classes: Decoder, Encoder

Constant Summary collapse

Error =
Class.new(HTTPX::Error)
CRLF =
"\r\n".b

Class Method Summary collapse

Class Method Details

.encode(chunks) ⇒ Object


113
114
115
# File 'lib/httpx/transcoder/chunker.rb', line 113

def encode(chunks)
  Encoder.new(chunks)
end