This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - websub : SubscriptionDetails

Record to represent persisted Subscription Details retrieved.

Closed record

Fields

  • topic string
  • The topic for which the subscription is added

  • callback string
  • The callback specified for the particular subscription

  • secret string
  • The secret to be used for authenticated content distribution

  • leaseSeconds int (default 0)
  • The lease second period specified for the particular subscription

  • createdAt int (default 0)
  • The time at which the subscription was created