Skip to content

Commit

Permalink
chore: mark Alamofire extension types deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshnj committed Aug 5, 2024
1 parent 8c9a718 commit 49b6a69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DatadogExtensions/Alamofire/DatadogAlamofireExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import DatadogInternal
import Alamofire

/// An `Alamofire.EventMonitor` which instruments `Alamofire.Session` with Datadog RUM and Tracing.
@available(*, deprecated, message: "Use `URLSessionInstrumentation.enable(with:)` instead.")
public class DDEventMonitor: EventMonitor {
/// The instance of the SDK core notified by this monitor.
private weak var core: DatadogCoreProtocol?
Expand Down Expand Up @@ -39,6 +40,7 @@ public class DDEventMonitor: EventMonitor {
}

/// An `Alamofire.RequestInterceptor` which instruments `Alamofire.Session` with Datadog RUM and Tracing.
@available(*, deprecated, message: "Use `URLSessionInstrumentation.enable(with:)` instead.")
public class DDRequestInterceptor: RequestInterceptor {
/// The instance of the SDK core notified by this monitor.
private weak var core: DatadogCoreProtocol?
Expand Down

0 comments on commit 49b6a69

Please sign in to comment.