added iOS source code
[wl-app.git] / iOS / Pods / MatomoTracker / MatomoTracker / Dispatcher.swift
diff --git a/iOS/Pods/MatomoTracker/MatomoTracker/Dispatcher.swift b/iOS/Pods/MatomoTracker/MatomoTracker/Dispatcher.swift
new file mode 100644 (file)
index 0000000..9414ca9
--- /dev/null
@@ -0,0 +1,10 @@
+import Foundation
+
+public protocol Dispatcher {
+    
+    var baseURL: URL { get }
+    
+    var userAgent: String? { get }
+    
+    func send(events: [Event], success: @escaping ()->(), failure: @escaping (_ error: Error)->())
+}