Record - websub : HubConfiguration

Record representing hub specific configurations.

Fields

  • leaseSeconds int 86400
  • The default lease seconds value to honour if not specified in subscription requests

  • signatureMethod SignatureMethod SHA256
  • The signature method to use for authenticated content delivery (SHA1|SHA256)

  • remotePublish RemotePublishConfig
  • The record representing configuration related to remote publishing allowance

  • topicRegistrationRequired boolean true
  • Whether a topic needs to be registered at the hub prior to publishing/subscribing to the topic

  • publicUrl string
  • The URL for the hub to be included in content delivery requests, defaults to http(s)://localhost:{port}/websub/hub if unspecified

  • clientConfig ClientEndpointConfig
  • The configuration for the hub to communicate with remote HTTP endpoints