Slide 32
Slide 32 text
ASYNC PHP REQUESTS AND REACTIVE RESPONSES WITH PHP-FPM • October 28th 2017 • unKonf • Mannheim HOLGER WOLTERSDORF
// unKonf
SEND A SYNCHRONOUS REQUEST
32
'value'] );
# Simulate HTTP Verbs: GET, POST, PUT, PATCH, DELETE
$request = new PostRequest( '/create-pdf.php', $content );
$response = $client->sendRequest( $request );
echo $response->getBody();