Click or drag to resize

IMessageEncoderFactoryGetCompressedMessageEncoder Method

Gets an encoder for a Compressed message.

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages.Encoders
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
IMessageEncoder GetCompressedMessageEncoder(
	IMessageEncoderSelector originalEncoderSelector
)

Parameters

originalEncoderSelector
Type: MongoDB.Driver.Core.WireProtocol.Messages.EncodersIMessageEncoderSelector
The original encoder selector.

Return Value

Type: IMessageEncoder
An encoder.
See Also