Protocol
Noun · Development
Definitions
A set of rules governing communication between systems. In networking, protocols like HTTP, TCP, and WebSocket define how data is formatted and transmitted. In Swift and Elixir, a protocol defines a contract (interface) that types must implement.
In plain English: An agreed-upon set of rules for how computers talk to each other — like a language with strict grammar that both sides must follow to understand each other.
Example: "HTTP is a protocol. HTTPS is that protocol wearing a bulletproof vest called TLS."