Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Njasm
Soundcloud
Request
Request
asJson
Njasm\Soundcloud\Request\Request::asJson PHP Method
Request Class Documentation
Mostrar archivo
Open project: njasm/soundcloud
asJson()
public
method
See also:
https://github.com/njasm/soundcloud/issues/16
Deprecation:
Soundcloud does not support XML responses anymore and calling this method is redundant.
public
asJson
( ) :
Request
return
Request
public function asJson() { $this->responseFormat = 'application/json'; return $this; }
Request
__construct
asJson
asXml
buildDefaultHeaders
exec
getBodyContent
getOptions
getUserAgent
setOptions