mirror of
https://github.com/apple/swift-nio-extras.git
synced 2025-06-02 02:56:03 +08:00
Format
This commit is contained in:
parent
9e3d133b12
commit
eb78ed3992
@ -12,8 +12,8 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
import NIOSSL
|
|
||||||
import NIOCore
|
import NIOCore
|
||||||
|
import NIOSSL
|
||||||
|
|
||||||
/// A protocol that defines a certificate reloader.
|
/// A protocol that defines a certificate reloader.
|
||||||
///
|
///
|
||||||
|
@ -80,7 +80,7 @@ import Foundation
|
|||||||
/// not being recognized or not matching the configured one; not being able to verify a certificate's signature against the given
|
/// not being recognized or not matching the configured one; not being able to verify a certificate's signature against the given
|
||||||
/// private key; etc), then that attempt will be aborted but the service will keep on trying at the configured interval.
|
/// private key; etc), then that attempt will be aborted but the service will keep on trying at the configured interval.
|
||||||
/// The last-valid certificate-key pair (if any) will be returned as the ``sslContextConfigurationOverride``.
|
/// The last-valid certificate-key pair (if any) will be returned as the ``sslContextConfigurationOverride``.
|
||||||
@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1.0, *)
|
@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1, *)
|
||||||
public struct TimedCertificateReloader: CertificateReloader {
|
public struct TimedCertificateReloader: CertificateReloader {
|
||||||
/// The encoding for the certificate or the key.
|
/// The encoding for the certificate or the key.
|
||||||
public struct Encoding: Sendable, Equatable {
|
public struct Encoding: Sendable, Equatable {
|
||||||
@ -396,5 +396,5 @@ public struct TimedCertificateReloader: CertificateReloader {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1.0, *)
|
@available(macOS 13, iOS 16, watchOS 9, tvOS 16, macCatalyst 16, visionOS 1, *)
|
||||||
extension TimedCertificateReloader: Service {}
|
extension TimedCertificateReloader: Service {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user