PHP 클래스 Microweber\Utils\Adapters\Http\Curl

파일 보기 프로젝트 열기: microweber/microweber

공개 프로퍼티들

프로퍼티 타입 설명
$debug
$mimeTypes path to save
$save_to_file
$timeout
$url

공개 메소드들

메소드 설명
__construct ( )
download ( $save_to_file, $post_data = false ) Set the headers and process curl via a GET
execute ( )
get ( )
post ( $data = false ) Set the headers and process curl via a POST
setHttpHeaders ( $headers ) Headers can be modified depending on what you need cURL to accomplish
setUrl ( $url )

비공개 메소드들

메소드 설명
buildPostString ( )
getMimeType ( $fn )
is_multidim_array ( $myarray ) Starts curl and sets headers and returns the data in a string
setHeaders ( $type = '' )

메소드 상세

__construct() 공개 메소드

public __construct ( )

download() 공개 메소드

Set the headers and process curl via a GET
public download ( $save_to_file, $post_data = false )

execute() 공개 메소드

public execute ( )

get() 공개 메소드

public get ( )

post() 공개 메소드

Set the headers and process curl via a POST
public post ( $data = false )

setHttpHeaders() 공개 메소드

Headers can be modified depending on what you need cURL to accomplish
public setHttpHeaders ( $headers )

setUrl() 공개 메소드

public setUrl ( $url )

프로퍼티 상세

$debug 공개적으로 프로퍼티

public $debug

$mimeTypes 공개적으로 프로퍼티

path to save
public $mimeTypes

$save_to_file 공개적으로 프로퍼티

public $save_to_file

$timeout 공개적으로 프로퍼티

public $timeout

$url 공개적으로 프로퍼티

public $url