PHP Class Prose\UsingHttp

Great for testing APIs
Inheritance: extends Prose
Afficher le fichier Open project: datasift/storyplayer

Méthodes publiques

Méthode Description
delete ( $url, $params = [], $headers = [], $timeout = null )
post ( $url, $params = [], $body = null, $headers = [], $timeout = null )
put ( $url, $params = [], $body = null, $headers = [], $timeout = null )

Méthodes protégées

Méthode Description
makeHttpRequest ( $url, string $verb, $params, $body, $headers = [], $timeout = null )

Method Details

delete() public méthode

public delete ( $url, $params = [], $headers = [], $timeout = null )

makeHttpRequest() protected méthode

protected makeHttpRequest ( $url, string $verb, $params, $body, $headers = [], $timeout = null )
$verb string

post() public méthode

public post ( $url, $params = [], $body = null, $headers = [], $timeout = null )

put() public méthode

public put ( $url, $params = [], $body = null, $headers = [], $timeout = null )