Record: SubscriberServiceConfiguration

Configuration for a WebSubSubscriber service.

Closed record


  • 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

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

  • unsubscribeOnShutdown boolean(default false)
  • This flag notifies whether or not to initiate unsubscription when the service is shutting down

  • 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

  • servicePath readonly byte[ ](default [])
  • The generated service-path if the service-path is not provided. This is auto-generated at the compile-time.