WebSub recommendation, which facilitates a push-based content delivery/notification mechanism between publishers and subscribers.
">
API Docs - Constants : websub
The constant used to represent error code of WebSub module.
PUBLISH_MODE_DIRECTstring PUBLISH_MODE_DIRECT
RemotePublishMode indicating direct update content notification (fat-ping). The payload of the update
notification request from the publisher to the hub would include be the update content.
PUBLISH_MODE_FETCHstring PUBLISH_MODE_FETCH
RemotePublishMode indicating that once the publisher notifies the hub that an update is available, the hub
needs to fetch the topic URL to identify the update content.
SHA1string SHA1
The constant used to represent SHA-1 cryptographic hash algorithm
SHA256string SHA256
The constant used to represent SHA-256 cryptographic hash algorithm
TOPIC_ID_HEADERstring TOPIC_ID_HEADER
TopicIdentifier indicating dispatching based solely on a header of the request.
TOPIC_ID_PAYLOAD_KEYstring TOPIC_ID_PAYLOAD_KEY
TopicIdentifier indicating dispatching based solely on a value for a key in the JSON payload of the request.