module Ethon::Easies::Callbacks
def set_callbacks
- Example: Set callbacks. -
def set_callbacks Curl.set_option(:writefunction, body_write_callback, handle) Curl.set_option(:headerfunction, header_write_callback, handle) @response_body = "" @response_header = "" end