2017 © Pedro Peláez
 

library anonym-httpfoundation

AnonymFramework Http Foundation Component

image

anonym-php/anonym-httpfoundation

AnonymFramework Http Foundation Component

  • Wednesday, September 23, 2015
  • by anonymframework
  • Repository
  • 2 Watchers
  • 1 Stars
  • 71 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Anonym-HttpClient

Bu açıklamada http client de sahip olunan sınıfların nasıl kullanıldığını açıklıyorum., (*1)

Response


$response = new Response('İçerik', 200); // durum kodu // $response = Response::make('Hello World', 200); // $response->setCharset('UTF-8'); $response->send();

getCookies:, (*2)

$cookies = $response->getCookies();

Başlık Eklemek


$respone->header('baslik:deger');

JsonResponse


$json = $response->jsonResponse($json, 200);

XmlResponse


$xml= $reponse->xmlResponse($xml, 200);

Yönlendirme


$redirect = new RedirectResponse('url', $time); // yönlendirilecek adres ve süre, süre öntanımlı olarak 0 dır $redirect->send();

The Versions

23/09 2015

dev-master

9999999-dev

AnonymFramework Http Foundation Component

  Sources   Download

MIT

The Requires

 

http foundation client http-foundation

08/08 2015

1.2.x-dev

1.2.9999999.9999999-dev

AnonymFramework Http Client Component

  Sources   Download

MIT

The Requires

 

http client httpclient

07/08 2015

1.0.x-dev

1.0.9999999.9999999-dev

AnonymFramework Http Client Component

  Sources   Download

MIT

The Requires

 

http client httpclient