Skip to content

Commit c1c3da3

Browse files
authored
remove all deprecations (#116)
1 parent 191c4ba commit c1c3da3

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

Diff for: Sources/AsyncHTTPClient/HTTPClient.swift

-6
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,6 @@ public class HTTPClient {
394394
/// Event Loop will be selected by the library.
395395
public static let indifferent = EventLoopPreference(.indifferent)
396396

397-
/// Library will try to use provided event loop if possible.
398-
@available(*, deprecated, renamed: "delegate(on:)")
399-
public static func prefers(_ eventLoop: EventLoop) -> EventLoopPreference {
400-
return EventLoopPreference(.delegate(on: eventLoop))
401-
}
402-
403397
/// The delegate will be run on the specified EventLoop (and the Channel if possible).
404398
///
405399
/// This will call the configured delegate on `eventLoop` and will try to use a `Channel` on the same

Diff for: Sources/AsyncHTTPClient/HTTPHandler.swift

-5
Original file line numberDiff line numberDiff line change
@@ -438,11 +438,6 @@ extension HTTPClient {
438438
/// Response execution context. Will be created by the library and could be used for obtaining
439439
/// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
440440
public final class Task<Response> {
441-
@available(*, deprecated, renamed: "eventLoop")
442-
public var currentEventLoop: EventLoop {
443-
return self.eventLoop
444-
}
445-
446441
/// The `EventLoop` the delegate will be executed on.
447442
public let eventLoop: EventLoop
448443

0 commit comments

Comments
 (0)