Skip to content

Home > @esengine/ecs-framework-monorepo > RpcCallHandlerEvents

RpcCallHandlerEvents interface

RPC调用处理器事件

Signature:

typescript
export interface RpcCallHandlerEvents

Properties

Property

Modifiers

Type

Description

callCompleted

(request: RpcCallRequest, response: RpcCallResponse) => void

callFailed

(request: RpcCallRequest, error: RpcError) => void

callStarted

(request: RpcCallRequest) => void

permissionDenied

(methodName: string, senderId: string) => void

rateLimitExceeded

(methodName: string, senderId: string) => void

基于 MIT 许可证发布