CoAP (Constrained Application Protocol) over TCP, TLS, and WebSockets, February 2018
- Canonical URL:
- File formats:
- PROPOSED STANDARD
- RFC 7641, RFC 7959
- C. Bormann
B. Raymor, Ed.
- core (art)
Discuss this RFC: Send questions or comments to firstname.lastname@example.org
The Constrained Application Protocol (CoAP), although inspired by HTTP, was designed to use UDP instead of TCP. The message layer of CoAP over UDP includes support for reliable delivery, simple congestion control, and flow control. Some environments benefit from the availability of CoAP carried over reliable transports such as TCP or Transport Layer Security (TLS). This document outlines the changes required to use CoAP over TCP, TLS, and WebSockets transports. It also formally updates RFC 7641 for use with these transports and RFC 7959 to enable the use of larger messages over a reliable transport.
For the definition of Status, see RFC 2026.
For the definition of Stream, see RFC 4844.