The WebSocket Protocol as a Transport for the Message Session Relay Protocol (MSRP)
RFC 7977

Document Type RFC - Proposed Standard (September 2016; No errata)
Was draft-pd-dispatch-msrp-websocket (individual in art area)
Last updated 2016-09-21
Stream IETF
Formats plain text html pdf htmlized bibtex
Reviews
Stream WG state (None)
Document shepherd Mary Barnes
Shepherd write-up Show (last changed 2016-05-04)
IESG IESG state RFC 7977 (Proposed Standard)
Consensus Boilerplate Yes
Telechat date
Responsible AD Ben Campbell
Send notices to (None)
IANA IANA review state Version Changed - Review Needed
IANA action state RFC-Ed-Ack
Internet Engineering Task Force (IETF)                        P. Dunkley
Request for Comments: 7977                                  G. Llewellyn
Updates: 4975, 4976                                                 Xura
Category: Standards Track                                     V. Pascual
ISSN: 2070-1721                                                   Oracle
                                                            G. Salgueiro
                                                         R. Ravindranath
                                                                   Cisco
                                                          September 2016

                 The WebSocket Protocol as a Transport
             for the Message Session Relay Protocol (MSRP)

Abstract

   The WebSocket protocol enables two-way real-time communication
   between clients and servers in situations where direct access to TCP
   and UDP is not available (for example, from within JavaScript in a
   web browser).  This document specifies a new WebSocket subprotocol as
   a reliable transport mechanism between Message Session Relay Protocol
   (MSRP) clients and relays to enable usage of MSRP in new scenarios.
   This document normatively updates RFCs 4975 and 4976.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 7841.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc7977.

Dunkley, et al.              Standards Track                    [Page 1]
RFC 7977            WebSocket as a Transport for MSRP     September 2016

Copyright Notice

   Copyright (c) 2016 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

   This document may contain material from IETF Documents or IETF
   Contributions published or made publicly available before November
   10, 2008.  The person(s) controlling the copyright in some of this
   material may not have granted the IETF Trust the right to allow
   modifications of such material outside the IETF Standards Process.
   Without obtaining an adequate license from the person(s) controlling
   the copyright in such materials, this document may not be modified
   outside the IETF Standards Process, and derivative works of it may
   not be created outside the IETF Standards Process, except to format
   it for publication as an RFC or to translate it into languages other
   than English.

Dunkley, et al.              Standards Track                    [Page 2]
RFC 7977            WebSocket as a Transport for MSRP     September 2016

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   4
     2.1.  Definitions . . . . . . . . . . . . . . . . . . . . . . .   5
   3.  WebSocket Protocol Overview . . . . . . . . . . . . . . . . .   5
   4.  The WebSocket MSRP Subprotocol  . . . . . . . . . . . . . . .   6
     4.1.  Handshake . . . . . . . . . . . . . . . . . . . . . . . .   6
     4.2.  MSRP Encoding . . . . . . . . . . . . . . . . . . . . . .   7
   5.  MSRP WebSocket Transport  . . . . . . . . . . . . . . . . . .   7
     5.1.  General . . . . . . . . . . . . . . . . . . . . . . . . .   7
     5.2.  Updates to RFC 4975 . . . . . . . . . . . . . . . . . . .   7
       5.2.1.  MSRP URI Transport Parameter  . . . . . . . . . . . .   7
       5.2.2.  SDP Transport Protocol  . . . . . . . . . . . . . . .   8
     5.3.  Updates to RFC 4976 . . . . . . . . . . . . . . . . . . .   8
       5.3.1.  AUTH Request Authentication . . . . . . . . . . . . .   8
   6.  Connection Keepalive  . . . . . . . . . . . . . . . . . . . .   9
   7.  Authentication  . . . . . . . . . . . . . . . . . . . . . . .   9
   8.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . .  10
     8.1.  Authentication  . . . . . . . . . . . . . . . . . . . . .  10
       8.1.1.  WebSocket Authentication  . . . . . . . . . . . . . .  10
Show full document text