Classes

The following classes are available globally.

  • A module that manages cookies.

    See more

    Declaration

    Swift

    public class CookieModule
  • Configuration for managing cookies in the application.

    See more

    Declaration

    Swift

    public final class CookieConfig : @unchecked Sendable
  • Class representing a workflow.

    See more

    Declaration

    Swift

    public class Workflow : @unchecked Sendable
  • Configuration class for CustomHeader. Allows adding custom headers to be injected into requests.

    See more

    Declaration

    Swift

    public class CustomHeaderConfig : @unchecked Sendable
  • Module for injecting custom headers into requests.

    See more

    Declaration

    Swift

    public class CustomHeader
  • HttpClient is responsible for handling HTTP requests and logging the details of those requests and responses.

    See more

    Declaration

    Swift

    open class HttpClient : @unchecked Sendable
  • RedirectPreventeris a delegate class that prevents HTTP redirects during URL sessions. This class conforms toURLSessionDelegateandURLSessionTaskDelegateto handle the redirection logic. It ensures that any HTTP redirection responses are not followed by theURLSession`.

    See more

    Declaration

    Swift

    public final class RedirectPreventer : NSObject, URLSessionDelegate, URLSessionTaskDelegate
  • A Module represents a unit of functionality in the application.

    • property config: A function that returns the configuration for the module.
    • property setup: A function that sets up the module.
    See more

    Declaration

    Swift

    public class Module<ModuleConfig> : Equatable, @unchecked Sendable where ModuleConfig : Sendable
  • Class for a ModuleRegistry. A ModuleRegistry represents a registry of modules in the application.

    • property id: The UUID of the module
    • property priority: The priority of the module in the registry.
    • property config: The configuration for the module.
    • property setup: The function that sets up the module.
    See more

    Declaration

    Swift

    public final class ModuleRegistry<Config> : ModuleRegistryProtocol where Config : Sendable
    extension ModuleRegistry: Comparable
  • Abstract class for a ContinueNode node in the workflow.

    • property context: The context for the node.
    • property workflow: The workflow for the node.
    • property input: The input for the node.
    • property actions: The actions for the node.
    See more

    Declaration

    Swift

    open class ContinueNode : Node, Closeable, @unchecked Sendable
  • Class for a Request. A Request represents a request to be sent over the network.

    See more

    Declaration

    Swift

    public class Request : @unchecked Sendable
  • A class that manages a shared context using a dictionary.

    See more

    Declaration

    Swift

    public final class SharedContext : @unchecked Sendable
  • Class representing the context of a flow.

    • property flowContext: The shared context of the flow.
    See more

    Declaration

    Swift

    public class FlowContext
  • Workflow configuration

    See more

    Declaration

    Swift

    public class WorkflowConfig : @unchecked Sendable