Bu açıklamada http client de sahip olunan sınıfların nasıl kullanıldığını açıklıyorum.
$response = new Response('İçerik', 200); // durum kodu
// $response = Response::make('Hello World', 200);
// $response->setCharset('UTF-8');
$response->send();
getCookies:
$cookies = $response->getCookies();
$respone->header('baslik:deger');
$json = $response->jsonResponse($json, 200);
$xml= $reponse->xmlResponse($xml, 200);
$redirect = new RedirectResponse('url', $time); // yönlendirilecek adres ve süre, süre öntanımlı olarak 0 dır
$redirect->send();