This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
cancel(thread, id)
public
Cancels the timeout handler id
# File lib/webrick/utils.rb, line 201
def cancel(thread, id)
if ary = @timeout_info[thread]
ary.delete_if{|info| info.object_id == id }
if ary.empty?
@timeout_info.delete(thread)
end
return true
end
return false
end