CURLFile::setMimeType
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
CURLFile::setMimeType — 设置被上传文件的 MIME 类型
说明
public CURLFile::setMimeType(string
$mime
): void参数
-
mime
-
POST 数据中的 MIME 类型。
返回值
没有返回值。
add a note
User Contributed Notes
There are no user contributed notes for this page.