Is it possible to use GZipStream passing an SslStream in C#? i.e. can you do
GZipStream stream = new GZipStream(sslStream, CompressionMode.Compress);
stream.Write(...);
...
GZipStream stream = new GZipStream(sslStream, CompressionMode.Decompress);
stream.Read(...);
If this is possible, is the SslStream still in a useable state after this or should it be closed?
Thanks.