AsyncAPI channel · Photon Engine · Photon Realtime Transport Protocol over WebSocket

/photon/ws

Single duplex WebSocket connection used for the entire Photon session against whichever server role (Name Server, Master Server, or Game Server) the client currently addresses. There is no per-message-type URL path in the real protocol; this channel represents the one long-lived socket carrying every operation request, operation response, and event for the connection's lifetime.

Provider: Photon Engine AsyncAPI: v2.6.0 Spec: Photon Realtime Transport Protocol over WebSocket Operations: 2 Messages: 3

Channel address

/photon/ws

Operations

publish
sendOperationRequest
Client sends an Operation Request (e.g. Connect, JoinLobby, JoinRoom, CreateRoom, RaiseEvent, SetProperties).
receiveOperationResponseOrEvent
Server sends an Operation Response or an Event.

Messages

OperationRequest
Client-to-server request identified by an operation code.
Content-Type: application/octet-stream
OperationResponse
Server-to-client reply to a specific operation code.
Content-Type: application/octet-stream
EventData
Server-pushed event identified by an event code.
Content-Type: application/octet-stream

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Agent Skill and MCP server surfaces of the same providers.