Skip to content

Commit 42cdc86

Browse files
committed
Update license headers
1 parent ce5d41b commit 42cdc86

12 files changed

+143
-20
lines changed

CONTRIBUTORS.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

Sources/Example/Example.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftHTTPServer open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the SwiftHTTPServer project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
//
10+
// SPDX-License-Identifier: Apache-2.0
11+
//
12+
//===----------------------------------------------------------------------===//
13+
114
import Crypto
215
import Foundation
316
import HTTPServer

Sources/Example/LogTracer.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftHTTPServer open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the SwiftHTTPServer project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
//
10+
// SPDX-License-Identifier: Apache-2.0
11+
//
12+
//===----------------------------------------------------------------------===//
13+
114
import Tracing
215

316
struct LogTracer: Tracer {

Sources/HTTPServer/HTTPRequestConcludingAsyncReader.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftHTTPServer open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the SwiftHTTPServer project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
//
10+
// SPDX-License-Identifier: Apache-2.0
11+
//
12+
//===----------------------------------------------------------------------===//
13+
114
public import HTTPTypes
215
import NIOCore
316
import NIOHTTPTypes

Sources/HTTPServer/HTTPResponseConcludingAsyncWriter.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftHTTPServer open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the SwiftHTTPServer project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
//
10+
// SPDX-License-Identifier: Apache-2.0
11+
//
12+
//===----------------------------------------------------------------------===//
13+
114
public import HTTPTypes
215
import NIOCore
316
import NIOHTTPTypes

Sources/HTTPServer/HTTPResponseSender.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftHTTPServer open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the SwiftHTTPServer project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
//
10+
// SPDX-License-Identifier: Apache-2.0
11+
//
12+
//===----------------------------------------------------------------------===//
13+
114
public import HTTPTypes
215

316
/// This type ensures that a single non-informational (1xx) `HTTPResponse` is sent back to the client when handling a request.

Sources/HTTPServer/HTTPServerClosureRequestHandler.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftHTTPServer open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the SwiftHTTPServer project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
//
10+
// SPDX-License-Identifier: Apache-2.0
11+
//
12+
//===----------------------------------------------------------------------===//
13+
114
public import HTTPTypes
215

316
/// A closure-based implementation of ``HTTPServerRequestHandler``.

Sources/HTTPServer/HTTPServerConfiguration.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftHTTPServer open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the SwiftHTTPServer project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
//
10+
// SPDX-License-Identifier: Apache-2.0
11+
//
12+
//===----------------------------------------------------------------------===//
13+
114
public import X509
215
public import NIOCertificateReloading
316
import NIOSSL

Sources/HTTPServer/HTTPServerProtocol.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftHTTPServer open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the SwiftHTTPServer project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
//
10+
// SPDX-License-Identifier: Apache-2.0
11+
//
12+
//===----------------------------------------------------------------------===//
13+
114
public import HTTPTypes
215

316
@available(macOS 26.0, iOS 26.0, watchOS 26.0, tvOS 26.0, visionOS 26.0, *)

Sources/HTTPServer/HTTPServerRequestHandler.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the SwiftHTTPServer open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the SwiftHTTPServer project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
//
10+
// SPDX-License-Identifier: Apache-2.0
11+
//
12+
//===----------------------------------------------------------------------===//
13+
114
public import HTTPTypes
215

316
/// A protocol that defines the contract for handling HTTP server requests.

0 commit comments

Comments
 (0)