Protocols¶
HTTP | HTTPS | MQTT | COAP | |
---|---|---|---|---|
Full Form | Hyper Text Transfer Protocol | HTTP Secure | Message Queue Telemetry Transfer | Constraint Application Protocol |
Client-Server Protocol | ||||
Methodology | Document-Centric | Data-Centric | ||
Architecture | Request/Response Protocol | Publish/Subscribe | ||
Participants | - Client - Server | - Publisher - Broker - Subscriber | ||
Complexity | Complex | Simple | ||
Data Format | ASCII | Binary with 2B header | ||
Message size | Large | Small | ||
Port # | 80 8080 | 443 | 1883 | |
Secure | ❌ | ✅ | ✅ | |
Methods | GET PUT POST | |||
Simple Lightweight | ||||
Designed for constrained devices, low-bandwidth, high-latency, unreliable networks |