PHP 클래스 Instagram\API\Framework\Response

파일 보기 프로젝트 열기: liamcottle/instagram-sdk-php

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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

getCode() 공개 메소드

Get Response Code
public getCode ( ) : integer
리턴 integer Response Code

getContentDispositionFilename() 공개 메소드

getContentType() 공개 메소드

Get Content Type
public getContentType ( ) : string
리턴 string

getCookies() 공개 메소드

Get Response Cookies
public getCookies ( ) : array
리턴 array Response Data

getData() 공개 메소드

Get Response Data
public getData ( ) : object
리턴 object Response Data

getHeaders() 공개 메소드

Get Response Headers
public getHeaders ( ) : array
리턴 array Response Data

isJson() 공개 메소드

Check if Content Type is Json
public isJson ( ) : boolean
리턴 boolean

isOK() 공개 메소드

Check if the Response was 200 OK
public isOK ( ) : boolean
리턴 boolean