master

laravel/framework

Last updated at: 29/12/2023 09:23

RequestSending.php

TLDR

This file contains the RequestSending class, which represents an event that occurs when a request is being sent by the Illuminate HTTP Client.

Classes

RequestSending

The RequestSending class is an event class used by the Illuminate HTTP Client. It represents an event that occurs when a request is being sent. It has the following properties and methods:

Properties

  • $request: An instance of the \Illuminate\Http\Client\Request class representing the request being sent.

Methods

N/A

<?php

namespace Illuminate\Http\Client\Events;

use Illuminate\Http\Client\Request;

class RequestSending
{
    /**
     * The request instance.
     *
     * @var \Illuminate\Http\Client\Request
     */
    public $request;

    /**
     * Create a new event instance.
     *
     * @param  \Illuminate\Http\Client\Request  $request
     * @return void
     */
    public function __construct(Request $request)
    {
        $this->request = $request;
    }
}