PHP Class Instagram\API\Framework\Response

Afficher le fichier Open project: liamcottle/instagram-sdk-php

Méthodes publiques

Méthode Description
__construct ( $curl, $data )
getCode ( ) : integer Get Response Code
getContentDispositionFilename ( )
getContentType ( ) : string Get Content Type
getCookies ( ) : array Get Response Cookies
getData ( ) : object Get Response Data
getHeaders ( ) : array Get Response Headers
isJson ( ) : boolean Check if Content Type is Json
isOK ( ) : boolean Check if the Response was 200 OK

Method Details

__construct() public méthode

public __construct ( $curl, $data )
$curl Curl
$data

getCode() public méthode

Get Response Code
public getCode ( ) : integer
Résultat integer Response Code

getContentDispositionFilename() public méthode

getContentType() public méthode

Get Content Type
public getContentType ( ) : string
Résultat string

getCookies() public méthode

Get Response Cookies
public getCookies ( ) : array
Résultat array Response Data

getData() public méthode

Get Response Data
public getData ( ) : object
Résultat object Response Data

getHeaders() public méthode

Get Response Headers
public getHeaders ( ) : array
Résultat array Response Data

isJson() public méthode

Check if Content Type is Json
public isJson ( ) : boolean
Résultat boolean

isOK() public méthode

Check if the Response was 200 OK
public isOK ( ) : boolean
Résultat boolean