Method: I2P::BOB::Client#start

Defined in:
lib/i2p/bob/client.rb

#startvoid Also known as: start!

This method returns an undefined value.

Starts and activates the current tunnel.

Examples:

bob.start

Raises:

  • (Error)

    if the tunnel settings are incomplete

  • (Error)

    if the tunnel is already active

Since:

  • 0.1.4



401
402
403
404
405
# File 'lib/i2p/bob/client.rb', line 401

def start
  send_command(:start)
  read_response # "tunnel starting"
  self
end