Record: Subscription

Record to represent the subscription request body.


  • hub string
  • URL of the hub to which the subscriber has subscribed

  • hubMode string
  • Current hub action

  • hubCallback string
  • Callback URL for subscriber to receive distributed content

  • hubTopic string
  • Topic to which subscriber has subscribed

  • hubLeaseSeconds string?(default ())
  • Amount of time in seconds during when the subscription is valid

  • hubSecret string?(default ())
  • Secret Key to sign the distributed content