From eb22168641f30eb08eca3bf69f8fce32f153f88f Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Wed, 11 Dec 2024 13:43:23 +0000 Subject: [PATCH] add missing imports --- Sources/NIOHTTP2/ConnectionStateMachine/HasLocalSettings.swift | 2 ++ Sources/NIOHTTP2/ConnectionStateMachine/HasRemoteSettings.swift | 2 ++ Tests/NIOHTTP2Tests/HTTP2ErrorTests.swift | 1 + 3 files changed, 5 insertions(+) diff --git a/Sources/NIOHTTP2/ConnectionStateMachine/HasLocalSettings.swift b/Sources/NIOHTTP2/ConnectionStateMachine/HasLocalSettings.swift index e5fd855c..71754b47 100644 --- a/Sources/NIOHTTP2/ConnectionStateMachine/HasLocalSettings.swift +++ b/Sources/NIOHTTP2/ConnectionStateMachine/HasLocalSettings.swift @@ -12,6 +12,8 @@ // //===----------------------------------------------------------------------===// +import NIOHPACK + /// A protocol implemented by HTTP/2 connection state machine states with local settings. /// /// This protocol provides implementations that can apply changes to the local settings. diff --git a/Sources/NIOHTTP2/ConnectionStateMachine/HasRemoteSettings.swift b/Sources/NIOHTTP2/ConnectionStateMachine/HasRemoteSettings.swift index 511e8bd8..f356538d 100644 --- a/Sources/NIOHTTP2/ConnectionStateMachine/HasRemoteSettings.swift +++ b/Sources/NIOHTTP2/ConnectionStateMachine/HasRemoteSettings.swift @@ -12,6 +12,8 @@ // //===----------------------------------------------------------------------===// +import NIOHPACK + /// A protocol implemented by HTTP/2 connection state machine states with remote settings. /// /// This protocol provides implementations that can apply changes to the remote settings. diff --git a/Tests/NIOHTTP2Tests/HTTP2ErrorTests.swift b/Tests/NIOHTTP2Tests/HTTP2ErrorTests.swift index f65260aa..2acf2a3e 100644 --- a/Tests/NIOHTTP2Tests/HTTP2ErrorTests.swift +++ b/Tests/NIOHTTP2Tests/HTTP2ErrorTests.swift @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// import NIOHTTP2 +import NIOHPACK import XCTest class HTTP2ErrorTests: XCTestCase {