ContentType Property

Content type to send for an object.

Object Oriented Interface

public function getContentType();
public function setContentType($value);

Procedural Interface

ipworkss3_s3client_get($res, 10 );
ipworkss3_s3client_set($res, 10, $value );

Default Value



This property can be set before calling CreateObject to have its value submitted as the object's Content-Type header value. This same value will then be returned in the Content-Type header by the server anytime the object is downloaded.

This property is not available at design time.

Data Type


Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 PHP Edition - Version 20.0 [Build 8164]