From 20135a1409eb6b9ac33fbd7ee8b67222b6f97c1f Mon Sep 17 00:00:00 2001 From: Harish Kumar S Date: Wed, 9 Oct 2019 15:07:44 +0530 Subject: [PATCH] make api generic --- Sources/KituraNet/HTTP/HTTPServer.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/KituraNet/HTTP/HTTPServer.swift b/Sources/KituraNet/HTTP/HTTPServer.swift index e6618bde..194c2916 100644 --- a/Sources/KituraNet/HTTP/HTTPServer.swift +++ b/Sources/KituraNet/HTTP/HTTPServer.swift @@ -123,7 +123,7 @@ public class HTTPServer: Server { private let maxPendingConnections = 100 /// The event loop group on which the HTTP handler runs - public let eventLoopGroup: MultiThreadedEventLoopGroup + public let eventLoopGroup: EventLoopGroup var quiescingHelper: ServerQuiescingHelper? @@ -145,7 +145,7 @@ public class HTTPServer: Server { #endif } - public init(eventLoopGroup: MultiThreadedEventLoopGroup) { + public init(eventLoopGroup: EventLoopGroup) { self.eventLoopGroup = eventLoopGroup }