TrafficThrottleByUserIdRule interface

Throttle the client traffic by the user ID

Extends

Properties

aggregationWindowInSeconds

The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.

maxInboundMessageBytes

Maximum accumulated inbound message bytes allowed for the same user ID within a time window. Clients with the same user ID will get disconnected if the message bytes exceeds this value. Default value is 1GB.

type

Property Details

aggregationWindowInSeconds

The aggregation window for the message bytes. The message bytes will be aggregated in this window and be reset after the window. Default value is 60 seconds.

aggregationWindowInSeconds?: number

Property Value

number

maxInboundMessageBytes

Maximum accumulated inbound message bytes allowed for the same user ID within a time window. Clients with the same user ID will get disconnected if the message bytes exceeds this value. Default value is 1GB.

maxInboundMessageBytes?: number

Property Value

number

type

type: "TrafficThrottleByUserIdRule"

Property Value

"TrafficThrottleByUserIdRule"