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

Record - websub : ExtensionConfig

The extension configuration to introduce custom subscriber services.

Closed record


  • topicIdentifier TopicIdentifier (default TOPIC_ID_HEADER)
  • The identifier based on which dispatching should happen for custom subscriber

  • topicHeader string? (default ())
  • The header to consider if required with dispatching for custom services

  • headerResourceMap map<[string, typedesc]> (default ())
  • The mapping between header value and resource details

  • payloadKeyResourceMap map<map<[string, typedesc]>> (default ())
  • The mapping between value for a particular JSON payload key and resource details

  • headerAndPayloadKeyResourceMap map<map<map<[string, typedesc]>>> (default ())
  • The mapping between values for the header and a particular JSON payload key and resource details