Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Jackalope
Transport
Jackrabbit
Request
setContentType
Jackalope\Transport\Jackrabbit\Request::setContentType PHP Метод
Документация по классу Request
Показать файл
Открыть проект
setContentType()
публичный
Метод
Set a different content type for this request. The default is text/xml in utf-8
public
setContentType
(
string
$contentType
)
$contentType
string
public function setContentType($contentType) { $this->contentType = (string) $contentType; }
Request
__construct
addCurlOptions
addHeader
addUserData
execute
executeDom
executeJson
forceHttpVersion10
getLongErrorString
getShortErrorString
handleError
multiRequest
prepareCurl
setBody
setContentType
setCredentials
setDepth
setLockToken
setMethod
setUri
singleRequest