public function buildProtocol(): ProtocolInterface
    {
        $chainVisitor = $this->createChainVisitor();

        return new HttpProtocol(
            $this->authenticator,
            $this->httpSender,
            $this->payloadEncoder,
            $this->uriFactory,
            $chainVisitor,
            $this->exceptionFactory
        );
    }
public function buildProtocol(): ProtocolInterface
    {
        $chainVisitor = $this->createChainVisitor();

        return new HttpProtocol(
            $this->authenticator,
            $this->httpSender,
            $this->payloadEncoder,
            $this->uriFactory,
            $chainVisitor,
            $this->exceptionFactory
        );
    }
{@inheritdoc}