We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c36fefa commit 919e918Copy full SHA for 919e918
README.md
@@ -68,6 +68,19 @@ class PubsubImplementation extends Pubsub {
68
}
69
```
70
71
+### Validate
72
+
73
+Validates the signature of a message.
74
75
+#### `pubsub.validate(message, callback)`
76
77
+##### Parameters
78
79
+| Name | Type | Description |
80
+|------|------|-------------|
81
+| message | `Message` | a pubsub message |
82
+| callback | `function(Error, Boolean)` | calls back with true if the message is valid |
83
84
## Implementations using this base protocol
85
86
You can use the following implementations as examples for building your own pubsub implementation.
0 commit comments