WuKongIM Docs

Client Protocols

Reference WKProto, JSON-RPC and MQTT development-preview entry contracts.

Clients establish long-lived connections through Gateway TCP or WebSocket listeners. The WKProto baseline covers negotiation, send, receive acknowledgement and heartbeat. MQTT uses a separate MQTT 5 TCP entry while sharing IM users, channels and messages.

A protocol is not an HTTP API

TCP binary frames and WebSocket messages do not belong in OpenAPI. This section records wire and Gateway behavior without inventing HTTP paths.

Current boundary

  • The public core contains CONNECT/CONNACK, SEND/SENDACK, RECV/RECVACK, PING/PONG, and outbound server stream.* EVENT.
  • WKProto DISCONNECT, SUB, and SUBACK are currently codec contracts, not published product Gateway entry points.
  • The server can deliver public streaming message events through EVENT. Arbitrary client EVENT ingress remains unsupported; ingress accepts only benchmark terminal-fence tooling requests.
  • WebSocket can carry WKProto bytes. The JSON-RPC bridge supports the pinned EasySDK core online path; the matrix marks every other method experimental or missing.

See Shared Dictionaries for numeric meanings and Authentication & Security for the production trust boundary.

On this page