From da0f814bdb0aeee4923efc6ea85f3d2eb67cca7e Mon Sep 17 00:00:00 2001 From: Gelareh Taban Date: Mon, 16 Oct 2017 10:15:27 -0500 Subject: [PATCH] Remove getPendingBytes --- Sources/ServerSecurity/TLSService-Protocol.swift | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Sources/ServerSecurity/TLSService-Protocol.swift b/Sources/ServerSecurity/TLSService-Protocol.swift index 588044b..03c1ef7 100644 --- a/Sources/ServerSecurity/TLSService-Protocol.swift +++ b/Sources/ServerSecurity/TLSService-Protocol.swift @@ -62,18 +62,6 @@ public protocol TLSServiceDelegate { /// func willSend(data: Data) throws -> Int - /// - /// Gets the amount of data in the current TLS data record that is immediately - /// available for reading on a TLS connection. - /// This API is required since the TLS layer buffers data once it reads it from the connection - /// (e.g., socket) and decrypts it. - /// - /// - Parameters: - /// - /// - Returns the amount of data that TLS layer has buffered - /// - func getPendingBytes() throws -> Int - /// /// Low level reader ///