bufferevent_rate_limit_group_decrement_read

@name Group rate limit manipulation

Subtract a number of bytes from a bufferevent rate-limiting group's read or write bucket. The decrement value can be negative, if you want to manually refill the bucket. If the change puts the bucket above or below zero, the bufferevents in the group will resume or suspend reading writing as appropriate.

Returns 0 on success, -1 on internal error.

@{

extern (C) nothrow
int
bufferevent_rate_limit_group_decrement_read

Meta