예제 #1
0
        public PerMessageCompressionExtension()
        {
            var bufferAllocator = new SegmentBufferManager(100, 8192, 1, true);

            _deflater = new DeflateCompression(bufferAllocator);
        }
예제 #2
0
 public byte[] ProcessOutgoingMessagePayload(byte[] payload, int offset, int count)
 {
     return(DeflateCompression.Compress(payload, offset, count));
 }
 public PerMessageCompressionExtension()
 {
     _deflater = new DeflateCompression();
 }
예제 #4
0
 public PerMessageCompressionExtension()
 {
     _deflater = new DeflateCompression();
 }