Class: RUPNP::SSDP::USearchResponder
- Inherits:
-
EM::Connection
- Object
- EM::Connection
- RUPNP::SSDP::USearchResponder
- Includes:
- HTTP, SearchResponder
- Defined in:
- lib/rupnp/ssdp/usearch_responder.rb
Overview
M-SEARCH responder for M-SEARCH unicast requests from control points.
Instance Method Summary collapse
-
#initialize(device, options = {}) ⇒ USearchResponder
constructor
A new instance of USearchResponder.
Methods included from SearchResponder
Methods included from HTTP
#get_http_headers, #get_http_verb, #is_http_status_ok?
Constructor Details
#initialize(device, options = {}) ⇒ USearchResponder
Returns a new instance of USearchResponder.
13 14 15 16 17 |
# File 'lib/rupnp/ssdp/usearch_responder.rb', line 13 def initialize(device, ={}) @device = device @options = set_ttl [:ttl] || DEFAULT_TTL end |