IP*Works! 2016 Delphi Edition
IP*Works! 2016 Delphi Edition
Questions / Feedback?

DataFormat Property

The format of the data being sent.

Syntax

property DataFormat: TipwwebsocketDataFormats;



TipwwebsocketDataFormats = ( dfAutomatic, dfText, dfBinary, dfPing, dfPong );

Default Value

dfAutomatic

Remarks

When data is sent over an established connection it is usually considered as text or binary data. Text data is UTF-8 encoded. Binary data has no encoding associated with it.

Possible values are:

0 (dfAutomatic - default) The component will attempt to automatically determine the correct data format. This is suitable for most cases.
1 (dfText) The component will UTF-8 encode the specified data before sending. Data that has already been UTF-8 encoded may also be supplied.
2 (dfBinary) The component will send the data exactly as it is provided.
9 (dfPing) The component will send the ping with data exactly as it is provided.
10 (dfPong) The component will send the pong with data exactly as it is provided.

Data Type

Integer

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 Delphi Edition - Version 16.0 [Build 7353]