ActionRootTarget
public class ActionRootTarget : ChildTargetType
Te server target to execute actions.
-
Declaration
Swift
public let method: HTTPMethod
-
Declaration
Swift
public let task: Task
-
Declaration
Swift
public var headers: [String : String]?
-
Declaration
Swift
public var sampleData: Data { get }
-
Undocumented
Declaration
Swift
public var validate: Bool
-
Create a target to execute the action.
Declaration
Swift
public func action(_ action: Action) -> ActionTarget
-
Create a target to execute the action using its name.
Declaration
Swift
public func action(name: String, parameters: [String : Any] = [:]) -> ActionTarget
-
Create an
ApplicationInfoTarget
from this.Declaration
Swift
public func applicationInfo(actionName: String, bundleId: String) -> ApplicationInfoTarget