Class: Elevate::HTTP::NetworkThread

Inherits:
Object
  • Object
show all
Defined in:
lib/elevate/http/thread.rb

Class Method Summary collapse

Class Method Details

.cancel(connection) ⇒ Object



4
5
6
# File 'lib/elevate/http/thread.rb', line 4

def self.cancel(connection)
  connection.performSelector(:cancel, onThread:thread, withObject:nil, waitUntilDone:false)
end

.start(connection) ⇒ Object



8
9
10
# File 'lib/elevate/http/thread.rb', line 8

def self.start(connection)
  connection.performSelector(:start, onThread:thread, withObject:nil, waitUntilDone:false)
end