MicroblinkPlatformProxySettings

data class MicroblinkPlatformProxySettings(val url: String, val startTransactionPath: String = "/transaction", val cancelWorkflowPath: String = "/initialize/{workflowId}/cancel", val workflowInfoPath: String = "/initialize/{workflowId}/info", val additionalRequestHeaders: Map<String, String> = emptyMap())

Settings for the proxy you are hosting.

Constructors

Link copied to clipboard
constructor(url: String, startTransactionPath: String = "/transaction", cancelWorkflowPath: String = "/initialize/{workflowId}/cancel", workflowInfoPath: String = "/initialize/{workflowId}/info", additionalRequestHeaders: Map<String, String> = emptyMap())

Properties

Link copied to clipboard

Additional headers to be sent with the request.

Link copied to clipboard

Custom path for canceling a workflow. Must include {workflowId} placeholder. Defaults to '/initialize/{workflowId}/cancel' if not specified.

Link copied to clipboard
Link copied to clipboard

Custom path for starting a transaction. Defaults to '/transaction' if not specified.

Link copied to clipboard
val url: String

The URL of the proxy server.

Link copied to clipboard

Custom path for retrieving workflow information. Must include {workflowId} placeholder. Defaults to '/initialize/{workflowId}/info' if not specified.