# give/4.16.1/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpRequest.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.1. 43 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.1/code/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpRequest.php
- Raw: https://pluginprobe.com/plugins/give/4.16.1/raw/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpRequest.php
- Modified: 2020-10-28T01:02:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.1/code/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpRequest.php#L10-L20`.

```php
<?php

namespace PayPalHttp;

/**
 * Class HttpRequest
 * @package PayPalHttp
 *
 * Request object that holds all the necessary information required by HTTPClient
 *
 * @see HttpClient
 */
class HttpRequest
{
    /**
     * @var string
     */
    public $path;

    /**
     * @var array | string
     */
    public $body;

    /**
     * @var string
     */
    public $verb;

    /**
     * @var array
     */
    public $headers;

    function __construct($path, $verb)
    {
        $this->path = $path;
        $this->verb = $verb;
        $this->body = NULL;
        $this->headers = [];
    }
}

```
