PHP 클래스 Services_Yadis_ParanoidHTTPFetcher, aprilchild

상속: extends Services_Yadis_HTTPFetcher
파일 보기 프로젝트 열기: aprilchild/aprilchild

공개 메소드들

메소드 설명
Services_Yadis_ParanoidHTTPFetcher ( $timeout )
_writeData ( $ch, $data )
_writeHeader ( $ch, $header )
get ( string $url, array $extra_headers = null ) : mixed Fetches the specified URL using optional extra headers and returns the server's response. Uses the CURL extension.
reset ( )

메소드 상세

Services_Yadis_ParanoidHTTPFetcher() 공개 메소드

_writeData() 공개 메소드

public _writeData ( $ch, $data )

_writeHeader() 공개 메소드

public _writeHeader ( $ch, $header )

get() 공개 메소드

Fetches the specified URL using optional extra headers and returns the server's response. Uses the CURL extension.
public get ( string $url, array $extra_headers = null ) : mixed
$url string The URL to be fetched.
$extra_headers array An array of header strings (e.g. "Accept: text/html").
리턴 mixed $result An array of ($code, $url, $headers, $body) if the URL could be fetched; null if the URL does not pass the URLHasAllowedScheme check or if the server's response is malformed.

reset() 공개 메소드

public reset ( )