swift-nio-extras
swift-nio-extras copied to clipboard
Remove redundant initializer from HTTPResponseCompressor in next major version
As mentioned, public convenience init(initialByteBufferCapacity: Int)
is now redundant, but has been left in purely for backwards compatibility when referring to the initializer directly rather than calling it, and can be removed in a future major version:
https://github.com/apple/swift-nio-extras/blob/d1ead62745cc3269e482f1c51f27608057174379/Sources/NIOHTTPCompression/HTTPResponseCompressor.swift#L132-L137