module Ethon::Easy::ResponseCallbacks
def on_body(&block)
-
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
block
(Block
)
-- The block to execute.
def on_body(&block) @on_body ||= [] @on_body << block if block_given? @on_body end