Class: Net::RTSP::GetParameter
- Inherits:
-
RTSPGenericRequest
- Object
- HTTPGenericRequest
- RTSPGenericRequest
- Net::RTSP::GetParameter
- Defined in:
- lib/raop/rtsp.rb
Instance Method Summary collapse
-
#initialize(session_id, parameters) ⇒ GetParameter
constructor
A new instance of GetParameter.
Methods inherited from RTSPGenericRequest
Constructor Details
#initialize(session_id, parameters) ⇒ GetParameter
Returns a new instance of GetParameter.
128 129 130 131 132 133 |
# File 'lib/raop/rtsp.rb', line 128 def initialize(session_id, parameters) super('GET_PARAMETER') self['Content-Type'] = 'text/parameters' self['Session'] = session_id @body = parameters.join("\r\n") + "\r\n" end |