Table of Contents

Class CompressFeature

Namespace
IceRpc.Features
Assembly
IceRpc.dll

Default implementation of ICompressFeature.

public sealed class CompressFeature : ICompressFeature
Inheritance
CompressFeature
Implements
Inherited Members

Properties

Compress

Gets an ICompressFeature with Value set to true.

public static ICompressFeature Compress { get; }

Property Value

ICompressFeature

A shared ICompressFeature with Value set to true.

DoNotCompress

Gets an ICompressFeature with Value set to false.

public static ICompressFeature DoNotCompress { get; }

Property Value

ICompressFeature

A shared ICompressFeature with Value set to false.

Value

Gets a value indicating whether or not to compress the payload of an outgoing request or response.

public bool Value { get; }

Property Value

bool

true if the payload should be compressed; false if the payload should be kept as-is.