class EventNotifyServlet

Public Instance Methods

do_NOTIFY(req, res) click to toggle source
# File lib/upnp_control_point.rb, line 37
def do_NOTIFY(req, res)
  cp = @options[0]
  if req.path == '/event'
    cp.on_event_notify req['SID'], req.body
  end
  res.status = 200
end