Parent

Typhoeus::Multi

Attributes

easy_handles[R]

Public Class Methods

new() click to toggle source
   # File lib/typhoeus/multi.rb, line 5
5:     def initialize
6:       reset_easy_handles
7:     end

Public Instance Methods

add(easy) click to toggle source
    # File lib/typhoeus/multi.rb, line 13
13:     def add(easy)
14:       easy.set_headers() if easy.headers.empty?
15:       @easy_handles << easy
16:       multi_add_handle(easy)
17:     end
cleanup() click to toggle source
    # File lib/typhoeus/multi.rb, line 26
26:     def cleanup()
27:       multi_cleanup
28:     end
perform() click to toggle source
    # File lib/typhoeus/multi.rb, line 19
19:     def perform()
20:       while active_handle_count > 0 do
21:         multi_perform
22:       end
23:       reset_easy_handles
24:     end
remove(easy) click to toggle source
    # File lib/typhoeus/multi.rb, line 9
 9:     def remove(easy)
10:       multi_remove_handle(easy)
11:     end

Private Instance Methods

reset_easy_handles() click to toggle source
    # File lib/typhoeus/multi.rb, line 31
31:     def reset_easy_handles
32:       @easy_handles = []
33:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.