lib/rtsp/message.rb
def message
      message = "#{@method_type.to_s.upcase} #{@request_uri} RTSP/#{@version}\r\n"
      message << headers_to_s(@headers)
      message << "\r\n"
      message << "#{@body}" unless @body.nil?

      #message.each_line { |line| RTSP::Client.log line.strip }

      message
    end
# Builds the request message to send to the server/client.
#
# @return [String]
Builds the request message to send to the server/client.
Builds the request message to send to the server / client .
def message
      message = "#{@method_type.to_s.upcase} #{@request_uri} RTSP/#{@version}\r\n"
      message << headers_to_s(@headers)
      message << "\r\n"
      message << "#{@body}" unless @body.nil?
      message
    end
def message message = "#{@method_type.to_s.upcase} #{@request_uri} RTSP/#{@version}\r\n" message << headers_to_s ( @headers ) message << "\r\n" message << "#{@body}" unless @body . nil? message end
Builds the request message to send to the server/client.
Builds the request message to send to the server / client .
#message.each_line { |line| RTSP::Client.log line.strip }
None
String