ccHTTPResultHandler.ContentType
- Merve Yurdakul
- Former user (Deleted)
Owned by Merve Yurdakul
Apr. 04, 2018
1 min read
Loading data...
Parameter
String;
Beschreibung
Mime-Type des Inhalts in ccHTTPResultHandler.ContentText.
Der Standard ist text/html.
Beispiel
ccHTTPResultHandler.ContentText := 'Hello World'; ccHTTPResultHandler.ContentType := 'text/plain';
Beispiel
ccHTTPResultHandler.ContentText := LoadFileToString('c:\example.png'); ccHTTPResultHandler.ContentType := 'image/png';