TsgcWSPClient_DatasetProperties › EncodeBase64

EncodeBase64 Property

Encode string field values in Base64 before sending them over the wire.

Syntax

property EncodeBase64: Boolean read FEncodeBase64 write FEncodeBase64;

Default Value

Remarks

When True, string field values are Base64-encoded on the sender and decoded on the receiver, so any binary or control characters travel safely through the JSON envelope without escaping. Disabled by default. Use this instead of AutoEscapeText when the field may contain arbitrary bytes. The same setting must be enabled on every peer.

Example

oProtocol.EncodeBase64 := True;

Back to Properties