RetailCRM API Client

RequestPipelineFactory
in package

Class RequestPipelineFactory

Tags
category

RequestPipelineFactory

Table of Contents

Methods

createDefaultPipeline()  : HandlerInterface
Instantiates default request pipeline with provided FormEncoder.

Methods

createDefaultPipeline()

Instantiates default request pipeline with provided FormEncoder.

public static createDefaultPipeline(FormEncoderInterface $formEncoder, UriFactoryInterface|null $uriFactory, RequestFactoryInterface|null $requestFactory, StreamFactoryInterface|null $streamFactory, HandlerInterface ...$additionalHandlers) : HandlerInterface

You still need to append your own authenticator handler. Otherwise your requests won't work.

Parameters
$formEncoder : FormEncoderInterface
$uriFactory : UriFactoryInterface|null
$requestFactory : RequestFactoryInterface|null
$streamFactory : StreamFactoryInterface|null
$additionalHandlers : HandlerInterface
Return values
HandlerInterface

        
On this page

Search results