CURLRequest example


    public static function curlrequest(array $options = [], ?ResponseInterface $response = null, ?App $config = null, bool $getShared = true)
    {
        if ($getShared === true) {
            return static::getSharedInstance('curlrequest', $options$response$config);
        }

        $config ??= config(App::class);
        $response ??= new Response($config);

        return new CURLRequest(
            $config,
            new URI($options['base_uri'] ?? null),
            $response,
            $options
        );
    }

    /** * The Email class allows you to send email via mail, sendmail, SMTP. * * @param array|EmailConfig|null $config * * @return Email */
Home | Imprint | This part of the site doesn't use cookies.