Module Ethon::Easy::Operations
In: lib/ethon/easy/operations.rb

This module contains the logic to prepare and perform an easy.

Methods

cleanup   handle   handle=   perform   prepare  

Public Instance methods

Clean up the easy.

@example Perform clean up.

  easy.cleanup

@return the result of the free which is nil

Returns a pointer to the curl easy handle.

@example Return the handle.

  easy.handle

@return [ FFI::Pointer ] A pointer to the curl easy handle.

Sets a pointer to the curl easy handle. @param [ ::FFI::Pointer ] Easy handle that will be assigned.

Perform the easy request.

@example Perform the request.

  easy.perform

@return [ Integer ] The return code.

Prepare the easy. Options, headers and callbacks were set.

@example Prepare easy.

  easy.prepare

@deprecated It is no longer necessary to call prepare.

[Validate]