For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-net/enums/WebSocketClientCloseReasons.md.

Enumeration: WebSocketClientCloseReasons experimental

network

Beta

Enumeration Members

ClosedByClient

ClosedByClient: 1

Beta

Remarks

客户端已关闭该 Socket。

The client has closed the socket.


ClosedByServer

ClosedByServer: 0

Beta

Remarks

服务器已关闭该 Socket。

The server has closed the socket.


IncomingPayloadsTooLarge

IncomingPayloadsTooLarge: 2

Beta

Remarks

客户端接收到的负载体积超过了每个 Tick 配置的最大允许值,因此客户端关闭了 Socket。

The client has received payloads whose body exceeds the configured maximum size allowed per tick so the client has closed the socket.

同领域相关