MCPcopy
hub / github.com/soketi/soketi / consumeFrontendEventPoints

Method consumeFrontendEventPoints

src/rate-limiters/rate-limiter.ts:42–44  ·  view source on GitHub ↗

* Consume the points for frontend-received events.

(points: number, app?: App, ws?: WebSocket)

Source from the content-addressed store, hash-verified

40 * Consume the points for frontend-received events.
41 */
42 consumeFrontendEventPoints(points: number, app?: App, ws?: WebSocket): Promise<ConsumptionResponse> {
43 return this.driver.consumeFrontendEventPoints(points, app, ws);
44 }
45
46 /**
47 * Consume the points for HTTP read requests.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected