Configuration

public class Configuration

Configuration options for Coaty container components, such as controllers, communication manager, and runtime.

Warning

Configuration objects do not need to conform to JSON format as opposed to the Coaty JS framework!!

Builder method.

  • Builds a new Configuration using the convenience closure syntax.

    Declaration

    Swift

    public static func build(_ closure: (ConfigurationBuilder) -> ()) throws -> Configuration

    Parameters

    closure

    the builder closure, preferably used as trailing closure.

    Return Value

    Configuration configured using the builder.