Click or drag to resize
CoreHelperGetCompressor Method
Gets the compression mechanism using the service context and the depending on the request and response.

Namespace:  Intuit.Ipp.Core
Assembly:  Intuit.Ipp.Core (in Intuit.Ipp.Core.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
C#
public static ICompressor GetCompressor(
	ServiceContext serviceContext,
	bool isRequest
)

Parameters

serviceContext
Type: Intuit.Ipp.CoreServiceContext
The service context object.
isRequest
Type: SystemBoolean
Specifies whether to return compression mechanism for reqeust or response.

Return Value

Type: ICompressor
The Compression mechanism.
See Also