Module Ethon::Multi::Stack
In: lib/ethon/multi/stack.rb

This module provides the multi stack behaviour.

Methods

add   delete   easy_handles  

Public Instance methods

Add an easy to the stack.

@example Add easy.

  multi.add(easy)

@param [ Easy ] easy The easy to add.

@raise [ Ethon::Errors::MultiAdd ] If adding an easy failed.

Delete an easy from stack.

@example Delete easy from stack.

@param [ Easy ] easy The easy to delete.

@raise [ Ethon::Errors::MultiRemove ] If removing an easy failed.

Return easy handles.

@example Return easy handles.

  multi.easy_handles

@return [ Array ] The easy handles.

[Validate]