Skip to content

Commit

Permalink
HBConfiguration.init now takes a TSTLSOptions
Browse files Browse the repository at this point in the history
instead of a NWProtocolTLS.Options
  • Loading branch information
adam-fowler committed May 6, 2021
1 parent 4235812 commit 951ac2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Hummingbird/Configuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ extension HBApplication {
enableHttpPipelining: Bool = true,
threadPoolSize: Int = 2,
logLevel: Logger.Level? = nil,
tlsOptions: NWProtocolTLS.Options?
tlsOptions: TSTLSOptions
) {
let env = HBEnvironment()

Expand All @@ -117,7 +117,7 @@ extension HBApplication {
self.reuseAddress = reuseAddress
self.tcpNoDelay = tcpNoDelay
self.enableHttpPipelining = enableHttpPipelining
self.tlsOptions = .init(tlsOptions)
self.tlsOptions = tlsOptions

self.threadPoolSize = threadPoolSize

Expand Down

0 comments on commit 951ac2b

Please sign in to comment.