Method: Vines::Config::ServerPort#initialize
- Defined in:
- lib/vines/config/port.rb
#initialize(config, host = '0.0.0.0', port = 5269, &block) ⇒ ServerPort
Returns a new instance of ServerPort.
61 62 63 64 |
# File 'lib/vines/config/port.rb', line 61 def initialize(config, host='0.0.0.0', port=5269, &block) @hosts, @stream = [], Vines::Stream::Server super(config, host, port, &block) end |