module Ethon::Easy::Callbacks
def header_write_callback
-
(Proc)
- The callback.
Other tags:
- Example: Return the callback. -
def header_write_callback @header_write_callback ||= proc {|stream, size, num, object| @response_headers << stream.read_string(size * num) size * num } end