method

register

ruby latest stable - Class: WEBrick::Utils::TimeoutHandler

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

register(thread, time, exception)
public

Registers a new timeout handler

time

Timeout in seconds

exception

Exception to raise when timeout elapsed