Record: SubscriberServiceConfiguration

Configuration for a WebSubSubscriber service.

Closed record

Fields

  • target string | [string, string]?
  • The string resource URL for which discovery will be initiated to identify the hub and topic, or a tuple [hub, topic] representing a discovered hub and a topic

  • leaseSeconds int?
  • The period for which the subscription is expected to be active

  • callback string?
  • The callback URL for subscriber-service

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

  • appendServiceUrl boolean(default false)
  • This flag notifies whether or not to append service-path to callback-url

  • httpConfig ClientConfiguration?
  • The configuration for the hub client used to interact with the discovered/specified hub

  • discoveryConfig record {| accept string | string[ ], acceptLanguage string | string[ ], httpConfig ClientConfiguration |}?
  • HTTP client configurations for resource discovery