We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 058820e commit 237112aCopy full SHA for 237112a
1 file changed
system/HTTP/OutgoingRequest.php system/HTTP/CURLRequest.phpsystem/HTTP/OutgoingRequest.php renamed to system/HTTP/CURLRequest.php
@@ -1,5 +1,7 @@
1
<?php namespace CodeIgniter\HTTP;
2
3
+use App\Config\AppConfig;
4
+
5
/**
6
* Class OutgoingRequest
7
*
@@ -10,7 +12,7 @@
10
12
11
13
* @package CodeIgniter\HTTPLite
14
*/
-class OutgoingRequest extends Request
15
+class CURLRequest extends Request
16
{
17
protected $baseURI;
18
@@ -27,12 +29,14 @@ class OutgoingRequest extends Request
27
29
28
30
* @param array $options
31
- public function __construct(array $options = [])
32
+ public function __construct(AppConfig $config, $uri=null, $body=null)
33
34
if (! function_exists('curl_version'))
35
36
throw new \RuntimeException('CURL must be enabled to use the OutgoingRequest class.');
37
}
38
39
+ parent::__construct($config, $uri, $body);
40
41
42
//--------------------------------------------------------------------
0 commit comments