module Typhoeus::Request::Streamable
def on_body(&block)
-
(Array
- All on_body blocks.)
Other tags:
- Yield: -
Parameters:
-
block
(Block
) -- The block to execute.
Other tags:
- Example: Set on_body. -
def on_body(&block) @on_body ||= [] @on_body << block if block_given? @on_body end