Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
HttpRequestService
setContentType
HttpRequestService::setContentType PHP Method
HttpRequestService Class Documentation
Mostra file
Open project: medz/thinksns-4
setContentType()
public
method
Set the Content-Type of the request to be send Format like "application/json" or "application/xml" or "text/plain" or other
public
setContentType
(
string
$contentType
)
$contentType
string
public function setContentType($contentType) { $this->contentType = $contentType; }
HttpRequestService
_DELETE
_GET
_POST
_POST_FOPEN
_PUT
__construct
_photoUpload
call
call_fopen
close
convertEncoding
create_post_body
do_post_request
getHeader
get_http_url
json_foreach
objectToArray
parseResponse
setAuthorizeInfo
setContentType
setDecodeFormat
setEncode
setFormat
setMethod
setNotFollow
setParameters
setURL
to_postdata
to_url
xml_decode