LaravelFCM\Sender\HTTPSender::__construct PHP Method

__construct() public method

Initializes a new sender object.
public __construct ( GuzzleHttp\ClientInterface $client, string $url )
$client GuzzleHttp\ClientInterface
$url string
    public function __construct(ClientInterface $client, $url)
    {
        $this->client = $client;
        $this->url = $url;
    }
HTTPSender