Gaming

Anti Spam

Limit Publish Rate from IP addresses
Back to BLOCKS

About Anti Spam

Anti Spam stops message senders from spamming. This is done by limiting the rate at which messages can be published.

Try it Now
Categories:
Gaming Gaming
Gaming
Gaming
Last Updated:
20160831 at 20:35:33
Author:
Devendra

Walkthrough

Anti Spam Block rate limits the publish rate from any IP address. The limit is configurable.

The block keeps track of the times of published messages, and allows a message to get published

only if the IP address does not cross the maximum number of messages allowed.

Input

Publish a message text on the input channel: spam-blocker-channel
{ 
    "text": "Hi"
}

Try PubNub Today

Connect up to 100 devices for Free