Communication APIs

Network requests and real-time communication

Fetch API

Coming soon: Modern approach to HTTP requests.

  • Basic Fetch Requests
  • Request Options (method, headers, body)
  • Response Handling
  • Working with JSON
  • Error Handling
  • AbortController and Timeouts
  • CORS and Credentials

WebSockets

Coming soon: Bi-directional real-time communication.

  • WebSocket Connection Lifecycle
  • Sending and Receiving Messages
  • Binary Data
  • Reconnection Strategies
  • WebSocket Security

Server-Sent Events

Coming soon: Server-push updates over HTTP.

  • EventSource API
  • Event Types and Data
  • Reconnection Handling
  • SSE vs WebSockets