module Ethon::Easy::Http::Putable

def set_form(easy)

Parameters:
  • easy (Easy) -- The easy to setup.

Other tags:
    Example: Setup. -
def set_form(easy)
  easy.upload = true
  form.escape = true
  form.params_encoding = params_encoding
  easy.infilesize = form.to_s.bytesize
  easy.set_read_callback(form.to_s)
end