Method: I2P::BOB::Client#inhost
- Defined in:
- lib/i2p/bob/client.rb
#inhost(host) ⇒ void Also known as: inhost=
This method returns an undefined value.
Sets the inbound host name or IP address that the current tunnel listens on.
The default for new tunnels is ‘inhost(“localhost”)`.
290 291 292 293 294 |
# File 'lib/i2p/bob/client.rb', line 290 def inhost(host) send_command(:inhost, [:inhost] = host.to_s) read_response # "inhost set" self end |