module Ethon::Easy::ResponseCallbacks
def on_headers(&block)
-
block
(Block
) -- The block to execute.
Other tags:
- Example: Set on_headers. -
def on_headers(&block) @on_headers ||= [] @on_headers << block if block_given? @on_headers end