Parent

Methods

Object

Constants

DNSSD

Public Instance Methods

register(name, path, protocol = 'http') click to toggle source
# File lib/vpim/agent/scraps.rb, line 54
def register(name, path, protocol = 'http')
  # $services << DNSSD.register(name, '_http._tcp', 'local', $port, 'path' => path )

  puts "register #{name.inspect} on path #{path.inspect} with #{protocol}"

  $stuff << [name, path, protocol]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.