ServerCode

Undocumented

  • Endpoint to call on servercode

    Declaration

    Swift

    public let endpoint: String
  • This token will be used to call the external appID endpoint

    Declaration

    Swift

    public let executorAccessToken: String?
  • If provided, servercode endpoint will be called for this appid. Otherwise same appID of trigger is used

    Declaration

    Swift

    public let targetAppID: String?
  • Parameters to pass to the servercode function

    Declaration

    Swift

    public let parameters: [String : Any]?
  • Init TriggeredServerCodeResult with necessary attributes

    Declaration

    Swift

    public init(
          _ endpoint: String,
          executorAccessToken: String? = nil,
          targetAppID: String? = nil,
          parameters: [String : Any]? = nil)