module Ethon::Multi::Stack

def delete(easy)

Raises:
  • (Ethon::Errors::MultiRemove) - If removing an easy failed.

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

Other tags:
    Example: Delete easy from stack. -
def delete(easy)
  if easy_handles.delete(easy)
    code = Curl.multi_remove_handle(handle, easy.handle)
    raise Errors::MultiRemove.new(code, handle) unless code == :ok
  end
end