2017 © Pedro Peláez
 

library http-multipart

Symfony HTTP Multipart Component

image

dickolsson/http-multipart

Symfony HTTP Multipart Component

  • Wednesday, November 26, 2014
  • by dickolsson
  • Repository
  • 4 Watchers
  • 7 Stars
  • 51 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

HTTP Multipart Components

Build Status, (*1)

This project contains PHP components to handle multipart requests and responses in PHP., (*2)

The goal of this project is to eventually file these classes as upstream patches (hence borrowing the upstream namespaces)., (*3)

Client request

To be done., (*4)

Client response

Client responses are implemented as a Guzzle message factory., (*5)

$client = new Client(['message_factory' => new MultipartMessageFactory()]);
$respone = $client->get('http://example.com/');

echo $respone->getBody(); // Outputs first part
echo $respone->getBody(); // Outputs second part

Server response

Server responses are implemented as an extension of Symfony HTTP Foundation., (*6)

$request = new Request();
$response = new MultipartResponse(
    new Response('hello', 200, ['Language' => 'en']),
    new Response('hejsan', 200, ['Language' => 'se'])
);

$response->prepare($request);
$response->send(); // Will send all parts as one multipart response.

The Versions

26/11 2014

1.0.x-dev

1.0.9999999.9999999-dev http://github.com/dickolsson/http-multipart

Symfony HTTP Multipart Component

  Sources   Download

GPL

The Requires

 

The Development Requires

by Dick Olsson

http symfony

26/11 2014

2.0.x-dev

2.0.9999999.9999999-dev http://github.com/dickolsson/http-multipart

Symfony HTTP Multipart Component

  Sources   Download

GPL

The Requires

 

The Development Requires

by Dick Olsson

http symfony

31/10 2014

1.0.0

1.0.0.0 http://github.com/dickolsson/http-multipart

Symfony HTTP Multipart Component

  Sources   Download

GPL

The Requires

 

The Development Requires

by Dick Olsson

http symfony

31/10 2014

2.0.0

2.0.0.0 http://github.com/dickolsson/http-multipart

Symfony HTTP Multipart Component

  Sources   Download

GPL

The Requires

 

The Development Requires

by Dick Olsson

http symfony