Communication APIs
Explore and learn about 9 JavaScript APIs in the Communication category.
Beacon
Send analytics data using Beacon API. Learn how to send data before the page is unloaded.
Broadcast Channel
Communicate between different browsing contexts (windows, tabs, iframes) using the Broadcast Channel API. Perfect for synchronizing state or sending messages across tabs.
Channel Messaging
Enable direct communication between different browsing contexts (like iframes and workers) using two-way channels with a port at each end. Perfect for secure cross-context messaging.
Fetch
Modern interface for making HTTP requests. Perfect for fetching resources across the network with support for promises, request/response objects, and CORS.
Server-Sent Events
Receive real-time updates from a server through a persistent connection. Perfect for live feeds, notifications, and real-time dashboards.
Web Share
Share content from web applications to other apps or services with the Web Share API. Learn to share text, links, and files.
WebRTC
Enable real-time communication in web applications with the WebRTC API. Learn to implement video calls, screen sharing, and peer-to-peer data transfer.
WebSockets
Establish persistent, bidirectional connections between clients and servers with the WebSockets API. Learn to implement real-time features and live updates.
WebTransport
Establish low-latency, bidirectional connections between clients and servers with the WebTransport API. Learn to implement real-time features with improved performance.