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

Record - websub : RemotePublishConfig

Record representing remote publishing allowance.

Closed record


  • enabled boolean (default false)
  • Whether remote publishers should be allowed to publish to this hub (HTTP requests)

  • mode RemotePublishMode (default PUBLISH_MODE_DIRECT)
  • If remote publishing is allowed, the mode to use, direct (default) - fat ping with the notification payload specified or fetch - the hub fetches the topic URL specified in the "publish" request to identify the payload