Slide 4
Slide 4 text
HTTP Protocol vs. WAMP Protocol
Feature HTTP Protocol WAMP Protocol
State Stateless* Stateful
Directionality Uni-directional Bi-directional
Duplex Half-duplex Full-duplex
Connection Transient**, optionally encrypted Persistent, optionally encrypted
Message methods/verbs GET, HEAD, POST, PUT, DELETE,
TRACE, OPTIONS, CONNECT, PATCH
Call, Register, Publish, Subscribe
Message format Plain text JSON/MessagePack/CBOR
Authentication Static/dynamic Basic access, Digest
access, Custom challenge-response
implemented in application
Static/dynamic versions of
Anonymous, Ticket, CRA,
Cryptosign, Cookie, TLS
Authorization Implemented in application Static/dynamic URI-based
* State is usually implemented at the application level using various methods
** HTTP/1.1 provides a keep-alive mechanism which sees common usage