PHP Class phprs\util\Curl

Afficher le fichier Open project: caoym/phprs-restful

Méthodes publiques

Свойство Type Description
$timeout integer request time out in second

Méthodes publiques

Méthode Description
GET ( $url, $headers = null, $followLoc = true )
POST ( $url, $content, $headers = null, $followLoc = true )
PUT ( $url, $content, $headers = null, $followLoc = true )
__construct ( )
__destruct ( )
reset ( )

Private Methods

Méthode Description
execCurl ( $url, string $method = 'GET', null $content = null, null $headers = null, boolean $followLoc = true ) : CurlResponse

Method Details

GET() public méthode

public GET ( $url, $headers = null, $followLoc = true )

POST() public méthode

public POST ( $url, $content, $headers = null, $followLoc = true )

PUT() public méthode

public PUT ( $url, $content, $headers = null, $followLoc = true )

__construct() public méthode

public __construct ( )

__destruct() public méthode

public __destruct ( )

reset() public méthode

public reset ( )

Property Details

$timeout public_oe property

request time out in second
public int $timeout
Résultat integer