lib/rtsp/client.rb
# Sends an OPTIONS message to the server specified by +@server_uri+.  Sets
# +@supported_methods+ based on the list of supported methods returned in
# the Public headers.
#
# @param [Hash] additional_headers
# @return [RTSP::Response]
# @see http://tools.ietf.org/html/rfc2326#page-30 RFC 2326, Section 10.1.
Sends an OPTIONS message to the server specified by +@server_uri+.  Sets
+@supported_methods+ based on the list of supported methods returned in
the Public headers.
Sends an OPTIONS message to the server specified by + @server_uri + . Sets + @supported_methods + based on the list of supported methods returned in the Public headers .
def options(additional_headers={})
      message = RTSP::Message.options(@server_uri.to_s).with_headers({
          cseq: @cseq })
      message.add_headers additional_headers
      request(message) do |response|
        @supported_methods = extract_supported_methods_from response.public
      end
    end
def options ( additional_headers = { } ) message = RTSP :: Message . options ( @server_uri . to_s ) . with_headers ( { cseq : @cseq } ) message . add_headers additional_headers request ( message ) do | response | @supported_methods = extract_supported_methods_from response . public end end
Sends an OPTIONS message to the server specified by +@server_uri+.
Sends an OPTIONS message to the server specified by + @server_uri + .
None
RTSP::Response
additional_headers
None
see
None