X

Create New Item

File Folder

X

Search Results

File "GzipInjector.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Core/GzipInjector.php
File size: 224 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

namespace PayPalCheckoutSdk\Core;


use PayPalHttp\Injector;

class GzipInjector implements Injector
{
    public function inject($httpRequest)
    {
        $httpRequest->headers["Accept-Encoding"] = "gzip";
    }
}