register(seconds, exception)
public
Registers a new
timeout handler
# File lib/webrick/utils.rb, line 135
def TimeoutHandler.register(seconds, exception)
at = Process.clock_gettime(Process::CLOCK_MONOTONIC) + seconds
instance.register(Thread.current, at, exception)
end