class GuzzleFactory implements HttpMessageFactoryInterface (View source)

Guzzle HTTP message factory. Credits to https://github.com/Majkl578/symfony-guzzle-psr7-bridge

Constants

DEFAULT_PROTOCOL_VERSION

Methods

createRequest(Request $symfonyRequest)

No description

createResponse(Response $symfonyResponse)

No description

detectRequestProtocol(Request $symfonyRequest)

No description

UploadedFileInterface[]
createUploadedFiles(Request $symfonyRequest)

No description

createUploadedFile(UploadedFile $symfonyUploadedFile)

No description

string[][]
createResponseHeaders(Response $symfonyResponse)

No description

createResponseStream(Response $symfonyResponse)

No description

createStreamFromBinaryFileResponse(BinaryFileResponse $symfonyResponse)

No description

createStreamFromStreamedResponse(StreamedResponse $symfonyResponse)

No description

createStreamFromResponseContent(Response $symfonyResponse)

No description

Details

createRequest(Request $symfonyRequest)

No description

Parameters

Request $symfonyRequest

createResponse(Response $symfonyResponse)

No description

Parameters

Response $symfonyResponse

private detectRequestProtocol(Request $symfonyRequest)

No description

Parameters

Request $symfonyRequest

private UploadedFileInterface[] createUploadedFiles(Request $symfonyRequest)

No description

Parameters

Request $symfonyRequest

Return Value

UploadedFileInterface[]

private createUploadedFile(UploadedFile $symfonyUploadedFile)

No description

Parameters

UploadedFile $symfonyUploadedFile

private string[][] createResponseHeaders(Response $symfonyResponse)

No description

Parameters

Response $symfonyResponse

Return Value

string[][]

private createResponseStream(Response $symfonyResponse)

No description

Parameters

Response $symfonyResponse

private createStreamFromBinaryFileResponse(BinaryFileResponse $symfonyResponse)

No description

Parameters

BinaryFileResponse $symfonyResponse

private createStreamFromStreamedResponse(StreamedResponse $symfonyResponse)

No description

Parameters

StreamedResponse $symfonyResponse

private createStreamFromResponseContent(Response $symfonyResponse)

No description

Parameters

Response $symfonyResponse