文件名称:开源消息传递协议SSMP.zip
文件大小:5KB
文件格式:ZIP
更新时间:2022-08-05 20:52:27
开源项目
SSMP 是 Stupid-Simple Messaging Protocol,开源消息传递协议。语法:message = ( request | response | event ) LF
request = "LOGIN" SP id SP id [ SP payload ]
| "CLOSE"
| "PING"
| "PONG"
| forwardable
response = code [ SP payload ]
event = "000" SP id SP ( forwardable | "PING" | "PONG" )
forwardable = "SUBSCRIBE" SP id [ SP "PRESENCE" ]
| "UNSUBSCRIBE" SP id
| "UCAST" SP id SP payload
| "MCAST" SP id SP payload
| "BCAST" SP payload
| compat
compat = verb [ SP id ] [ SP payload ]
code = 3DIGIT
verb = 1*UPALPHA
id = 1*ID
payload = 1*PAYLOAD
ID = UPALPHA | LOALPHA | DIGIT
| "." | ":" | "@" | "/" | "_" | "-" | " " | "=" | "~"
PAYLOAD =
【文件预览】:
ssmp-master
----README.md(14KB)