RPCCloseEventCodes

export declare enum RPCCloseEventCodes
export declare enum RPCCloseEventCodes
CloseAbnormal=

1006

CloseNormal=

1000

CloseUnsupported=

1003

InvalidClientId=

4000

You connected to the RPC server with an invalid client ID.
InvalidEncoding=

4005

The encoding specified in the connection string was not valid.
InvalidOrigin=

4001

You connected to the RPC server with an invalid origin.
InvalidVersion=

4004

The RPC Server version specified in the connection string was not valid.
RateLimited=

4002

You are being rate limited.
TokenRevoked=

4003

The OAuth2 token associated with a connection was revoked, get a new one!