CURLFile
PHP Manual

CURLFile::setMimeType

(PHP 5 >= 5.5.0, PHP 7)

CURLFile::setMimeTypeSet MIME type

Description

public void CURLFile::setMimeType ( string $mime )

Parameters

mime

MIME type to be used in POST data.

Return Values

No value is returned.


CURLFile
PHP Manual