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)

Parameters

Request $symfonyRequest

createResponse(Response $symfonyResponse)

Parameters

Response $symfonyResponse

private detectRequestProtocol(Request $symfonyRequest)

Parameters

Request $symfonyRequest

private UploadedFileInterface[] createUploadedFiles(Request $symfonyRequest)

Parameters

Request $symfonyRequest

Return Value

UploadedFileInterface[]

private createUploadedFile(UploadedFile $symfonyUploadedFile)

Parameters

UploadedFile $symfonyUploadedFile

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

Parameters

Response $symfonyResponse

Return Value

string[][]

private createResponseStream(Response $symfonyResponse)

Parameters

Response $symfonyResponse

private createStreamFromBinaryFileResponse(BinaryFileResponse $symfonyResponse)

Parameters

BinaryFileResponse $symfonyResponse

private createStreamFromStreamedResponse(StreamedResponse $symfonyResponse)

Parameters

StreamedResponse $symfonyResponse

private createStreamFromResponseContent(Response $symfonyResponse)

Parameters

Response $symfonyResponse