Skip to content

Commit 00a7417

Browse files
committed
Updated API for commit ff04e9e7d1ea4fdd800e9975c4406cdc100504c6
1 parent 375cfcb commit 00a7417

File tree

7 files changed

+103
-34
lines changed

7 files changed

+103
-34
lines changed

docs/classes/CodeIgniter-HTTP-CURLRequest.html

Lines changed: 86 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -777,16 +777,23 @@ <h4 id="toc-methods">
777777
</dt>
778778

779779
<dt class="phpdocumentor-table-of-contents__entry -method -private">
780-
<a class="" href="classes/CodeIgniter-HTTP-CURLRequest.html#method_handleRedirectHeaders">handleRedirectHeaders()</a>
780+
<a class="" href="classes/CodeIgniter-HTTP-MessageTrait.html#method_hasMultipleHeaders">hasMultipleHeaders()</a>
781+
<span>
782+
&nbsp;: bool </span>
783+
</dt>
784+
785+
<dt class="phpdocumentor-table-of-contents__entry -method -private">
786+
<a class="" href="classes/CodeIgniter-HTTP-CURLRequest.html#method_removeIntermediateResponses">removeIntermediateResponses()</a>
781787
<span>
782788
&nbsp;: string </span>
783789
</dt>
784790

785791
<dt class="phpdocumentor-table-of-contents__entry -method -private">
786-
<a class="" href="classes/CodeIgniter-HTTP-MessageTrait.html#method_hasMultipleHeaders">hasMultipleHeaders()</a>
792+
<a class="" href="classes/CodeIgniter-HTTP-CURLRequest.html#method_shouldRemoveCurrentResponse">shouldRemoveCurrentResponse()</a>
787793
<span>
788794
&nbsp;: bool </span>
789795
</dt>
796+
<dd>Check if the current response (at the beginning of output) should be removed.</dd>
790797

791798
</dl>
792799

@@ -3382,7 +3389,7 @@ <h4 class="phpdocumentor-element__name" id="method_applyBody">
33823389
<aside class="phpdocumentor-element-found-in">
33833390
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
33843391
:
3385-
<span class="phpdocumentor-element-found-in__line">472</span>
3392+
<span class="phpdocumentor-element-found-in__line">458</span>
33863393

33873394
</aside>
33883395

@@ -3431,7 +3438,7 @@ <h4 class="phpdocumentor-element__name" id="method_applyMethod">
34313438
<aside class="phpdocumentor-element-found-in">
34323439
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
34333440
:
3434-
<span class="phpdocumentor-element-found-in__line">445</span>
3441+
<span class="phpdocumentor-element-found-in__line">431</span>
34353442

34363443
</aside>
34373444

@@ -3487,7 +3494,7 @@ <h4 class="phpdocumentor-element__name" id="method_applyRequestHeaders">
34873494
<aside class="phpdocumentor-element-found-in">
34883495
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
34893496
:
3490-
<span class="phpdocumentor-element-found-in__line">425</span>
3497+
<span class="phpdocumentor-element-found-in__line">411</span>
34913498

34923499
</aside>
34933500

@@ -3717,7 +3724,7 @@ <h4 class="phpdocumentor-element__name" id="method_sendRequest">
37173724
<aside class="phpdocumentor-element-found-in">
37183725
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
37193726
:
3720-
<span class="phpdocumentor-element-found-in__line">703</span>
3727+
<span class="phpdocumentor-element-found-in__line">689</span>
37213728

37223729
</aside>
37233730

@@ -3781,7 +3788,7 @@ <h4 class="phpdocumentor-element__name" id="method_setCURLOptions">
37813788
<aside class="phpdocumentor-element-found-in">
37823789
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
37833790
:
3784-
<span class="phpdocumentor-element-found-in__line">520</span>
3791+
<span class="phpdocumentor-element-found-in__line">506</span>
37853792

37863793
</aside>
37873794

@@ -3852,7 +3859,7 @@ <h4 class="phpdocumentor-element__name" id="method_setResponseHeaders">
38523859
<aside class="phpdocumentor-element-found-in">
38533860
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
38543861
:
3855-
<span class="phpdocumentor-element-found-in__line">487</span>
3862+
<span class="phpdocumentor-element-found-in__line">473</span>
38563863

38573864
</aside>
38583865

@@ -3934,22 +3941,70 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
39343941
-private
39353942
"
39363943
>
3937-
<h4 class="phpdocumentor-element__name" id="method_handleRedirectHeaders">
3938-
handleRedirectHeaders()
3939-
<a href="classes/CodeIgniter-HTTP-CURLRequest.html#method_handleRedirectHeaders" class="headerlink"><i class="fas fa-link"></i></a>
3944+
<h4 class="phpdocumentor-element__name" id="method_hasMultipleHeaders">
3945+
hasMultipleHeaders()
3946+
<a href="classes/CodeIgniter-HTTP-MessageTrait.html#method_hasMultipleHeaders" class="headerlink"><i class="fas fa-link"></i></a>
3947+
3948+
</h4>
3949+
<aside class="phpdocumentor-element-found-in">
3950+
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/MessageTrait.php"><a href="files/system-http-messagetrait.html"><abbr title="system/HTTP/MessageTrait.php">MessageTrait.php</abbr></a></abbr>
3951+
:
3952+
<span class="phpdocumentor-element-found-in__line">173</span>
3953+
3954+
</aside>
3955+
3956+
3957+
<code class="phpdocumentor-code phpdocumentor-signature ">
3958+
<span class="phpdocumentor-signature__visibility">private</span>
3959+
<span class="phpdocumentor-signature__name">hasMultipleHeaders</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$name</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
3960+
3961+
<div class="phpdocumentor-label-line">
3962+
</div>
3963+
3964+
3965+
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
3966+
<dl class="phpdocumentor-argument-list">
3967+
<dt class="phpdocumentor-argument-list__entry">
3968+
<span class="phpdocumentor-signature__argument__name">$name</span>
3969+
: <span class="phpdocumentor-signature__argument__return-type">string</span>
3970+
</dt>
3971+
<dd class="phpdocumentor-argument-list__definition">
3972+
3973+
</dd>
3974+
</dl>
3975+
3976+
3977+
3978+
3979+
3980+
<section>
3981+
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
3982+
<span class="phpdocumentor-signature__response_type">bool</span>
3983+
</section>
3984+
3985+
</article>
3986+
<article
3987+
class="phpdocumentor-element
3988+
-method
3989+
-private
3990+
"
3991+
>
3992+
<h4 class="phpdocumentor-element__name" id="method_removeIntermediateResponses">
3993+
removeIntermediateResponses()
3994+
<a href="classes/CodeIgniter-HTTP-CURLRequest.html#method_removeIntermediateResponses" class="headerlink"><i class="fas fa-link"></i></a>
39403995

39413996
</h4>
39423997
<aside class="phpdocumentor-element-found-in">
39433998
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
39443999
:
3945-
<span class="phpdocumentor-element-found-in__line">721</span>
4000+
<span class="phpdocumentor-element-found-in__line">707</span>
39464001

39474002
</aside>
39484003

39494004

39504005
<code class="phpdocumentor-code phpdocumentor-signature ">
39514006
<span class="phpdocumentor-signature__visibility">private</span>
3952-
<span class="phpdocumentor-signature__name">handleRedirectHeaders</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$output</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$breakString</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
4007+
<span class="phpdocumentor-signature__name">removeIntermediateResponses</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$output</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$breakString</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
39534008

39544009
<div class="phpdocumentor-label-line">
39554010
</div>
@@ -3989,22 +4044,23 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
39894044
-private
39904045
"
39914046
>
3992-
<h4 class="phpdocumentor-element__name" id="method_hasMultipleHeaders">
3993-
hasMultipleHeaders()
3994-
<a href="classes/CodeIgniter-HTTP-MessageTrait.html#method_hasMultipleHeaders" class="headerlink"><i class="fas fa-link"></i></a>
4047+
<h4 class="phpdocumentor-element__name" id="method_shouldRemoveCurrentResponse">
4048+
shouldRemoveCurrentResponse()
4049+
<a href="classes/CodeIgniter-HTTP-CURLRequest.html#method_shouldRemoveCurrentResponse" class="headerlink"><i class="fas fa-link"></i></a>
39954050

39964051
</h4>
39974052
<aside class="phpdocumentor-element-found-in">
3998-
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/MessageTrait.php"><a href="files/system-http-messagetrait.html"><abbr title="system/HTTP/MessageTrait.php">MessageTrait.php</abbr></a></abbr>
4053+
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
39994054
:
4000-
<span class="phpdocumentor-element-found-in__line">173</span>
4055+
<span class="phpdocumentor-element-found-in__line">730</span>
40014056

40024057
</aside>
40034058

4004-
4059+
<p class="phpdocumentor-summary">Check if the current response (at the beginning of output) should be removed.</p>
4060+
40054061
<code class="phpdocumentor-code phpdocumentor-signature ">
40064062
<span class="phpdocumentor-signature__visibility">private</span>
4007-
<span class="phpdocumentor-signature__name">hasMultipleHeaders</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$name</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
4063+
<span class="phpdocumentor-signature__name">shouldRemoveCurrentResponse</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$output</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$breakString</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
40084064

40094065
<div class="phpdocumentor-label-line">
40104066
</div>
@@ -4013,7 +4069,14 @@ <h4 class="phpdocumentor-element__name" id="method_hasMultipleHeaders">
40134069
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
40144070
<dl class="phpdocumentor-argument-list">
40154071
<dt class="phpdocumentor-argument-list__entry">
4016-
<span class="phpdocumentor-signature__argument__name">$name</span>
4072+
<span class="phpdocumentor-signature__argument__name">$output</span>
4073+
: <span class="phpdocumentor-signature__argument__return-type">string</span>
4074+
</dt>
4075+
<dd class="phpdocumentor-argument-list__definition">
4076+
4077+
</dd>
4078+
<dt class="phpdocumentor-argument-list__entry">
4079+
<span class="phpdocumentor-signature__argument__name">$breakString</span>
40174080
: <span class="phpdocumentor-signature__argument__return-type">string</span>
40184081
</dt>
40194082
<dd class="phpdocumentor-argument-list__definition">
@@ -4212,8 +4275,9 @@ <h5 class="phpdocumentor-return-value__heading">Return values</h5>
42124275
<li class=""><a href="classes/CodeIgniter-HTTP-CURLRequest.html#method_setCURLOptions">setCURLOptions()</a></li>
42134276
<li class=""><a href="classes/CodeIgniter-HTTP-CURLRequest.html#method_setResponseHeaders">setResponseHeaders()</a></li>
42144277
<li class=""><a href="classes/CodeIgniter-HTTP-MessageTrait.html#method_checkMultipleHeaders">checkMultipleHeaders()</a></li>
4215-
<li class=""><a href="classes/CodeIgniter-HTTP-CURLRequest.html#method_handleRedirectHeaders">handleRedirectHeaders()</a></li>
42164278
<li class=""><a href="classes/CodeIgniter-HTTP-MessageTrait.html#method_hasMultipleHeaders">hasMultipleHeaders()</a></li>
4279+
<li class=""><a href="classes/CodeIgniter-HTTP-CURLRequest.html#method_removeIntermediateResponses">removeIntermediateResponses()</a></li>
4280+
<li class=""><a href="classes/CodeIgniter-HTTP-CURLRequest.html#method_shouldRemoveCurrentResponse">shouldRemoveCurrentResponse()</a></li>
42174281
</ul>
42184282
</li>
42194283
</ul>

docs/classes/CodeIgniter-Test-Mock-MockCURLRequest.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3503,7 +3503,7 @@ <h4 class="phpdocumentor-element__name" id="method_applyBody">
35033503
<aside class="phpdocumentor-element-found-in">
35043504
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
35053505
:
3506-
<span class="phpdocumentor-element-found-in__line">472</span>
3506+
<span class="phpdocumentor-element-found-in__line">458</span>
35073507

35083508
</aside>
35093509

@@ -3552,7 +3552,7 @@ <h4 class="phpdocumentor-element__name" id="method_applyMethod">
35523552
<aside class="phpdocumentor-element-found-in">
35533553
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
35543554
:
3555-
<span class="phpdocumentor-element-found-in__line">445</span>
3555+
<span class="phpdocumentor-element-found-in__line">431</span>
35563556

35573557
</aside>
35583558

@@ -3608,7 +3608,7 @@ <h4 class="phpdocumentor-element__name" id="method_applyRequestHeaders">
36083608
<aside class="phpdocumentor-element-found-in">
36093609
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
36103610
:
3611-
<span class="phpdocumentor-element-found-in__line">425</span>
3611+
<span class="phpdocumentor-element-found-in__line">411</span>
36123612

36133613
</aside>
36143614

@@ -3888,7 +3888,7 @@ <h4 class="phpdocumentor-element__name" id="method_setCURLOptions">
38883888
<aside class="phpdocumentor-element-found-in">
38893889
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
38903890
:
3891-
<span class="phpdocumentor-element-found-in__line">520</span>
3891+
<span class="phpdocumentor-element-found-in__line">506</span>
38923892

38933893
</aside>
38943894

@@ -3959,7 +3959,7 @@ <h4 class="phpdocumentor-element__name" id="method_setResponseHeaders">
39593959
<aside class="phpdocumentor-element-found-in">
39603960
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
39613961
:
3962-
<span class="phpdocumentor-element-found-in__line">487</span>
3962+
<span class="phpdocumentor-element-found-in__line">473</span>
39633963

39643964
</aside>
39653965

docs/files/system-http-curlrequest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ <h4 class="phpdocumentor-element__name" id="constant_CURL_HTTP_VERSION_3">
315315
<aside class="phpdocumentor-element-found-in">
316316
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
317317
:
318-
<span class="phpdocumentor-element-found-in__line">674</span>
318+
<span class="phpdocumentor-element-found-in__line">660</span>
319319

320320
</aside>
321321

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,7 @@ <h4 class="phpdocumentor-element__name" id="constant_CURL_HTTP_VERSION_3">
17581758
<aside class="phpdocumentor-element-found-in">
17591759
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
17601760
:
1761-
<span class="phpdocumentor-element-found-in__line">674</span>
1761+
<span class="phpdocumentor-element-found-in__line">660</span>
17621762

17631763
</aside>
17641764

docs/js/searchIndex.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16001,10 +16001,15 @@ Search.appendIndex(
1600116001
"summary": "Does\u0020the\u0020actual\u0020work\u0020of\u0020initializing\u0020cURL,\u0020setting\u0020the\u0020options,\nand\u0020grabbing\u0020the\u0020output.",
1600216002
"url": "classes/CodeIgniter-HTTP-CURLRequest.html#method_sendRequest"
1600316003
}, {
16004-
"fqsen": "\\CodeIgniter\\HTTP\\CURLRequest\u003A\u003AhandleRedirectHeaders\u0028\u0029",
16005-
"name": "handleRedirectHeaders",
16004+
"fqsen": "\\CodeIgniter\\HTTP\\CURLRequest\u003A\u003AremoveIntermediateResponses\u0028\u0029",
16005+
"name": "removeIntermediateResponses",
1600616006
"summary": "",
16007-
"url": "classes/CodeIgniter-HTTP-CURLRequest.html#method_handleRedirectHeaders"
16007+
"url": "classes/CodeIgniter-HTTP-CURLRequest.html#method_removeIntermediateResponses"
16008+
}, {
16009+
"fqsen": "\\CodeIgniter\\HTTP\\CURLRequest\u003A\u003AshouldRemoveCurrentResponse\u0028\u0029",
16010+
"name": "shouldRemoveCurrentResponse",
16011+
"summary": "Check\u0020if\u0020the\u0020current\u0020response\u0020\u0028at\u0020the\u0020beginning\u0020of\u0020output\u0029\u0020should\u0020be\u0020removed.",
16012+
"url": "classes/CodeIgniter-HTTP-CURLRequest.html#method_shouldRemoveCurrentResponse"
1600816013
}, {
1600916014
"fqsen": "\\CodeIgniter\\HTTP\\CURLRequest\u003A\u003A\u0024response",
1601016015
"name": "response",

docs/namespaces/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,7 @@ <h4 class="phpdocumentor-element__name" id="constant_CURL_HTTP_VERSION_3">
17531753
<aside class="phpdocumentor-element-found-in">
17541754
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
17551755
:
1756-
<span class="phpdocumentor-element-found-in__line">674</span>
1756+
<span class="phpdocumentor-element-found-in__line">660</span>
17571757

17581758
</aside>
17591759

docs/packages/Application.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ <h4 class="phpdocumentor-element__name" id="constant_CURL_HTTP_VERSION_3">
18291829
<aside class="phpdocumentor-element-found-in">
18301830
<abbr class="phpdocumentor-element-found-in__file" title="system/HTTP/CURLRequest.php"><a href="files/system-http-curlrequest.html"><abbr title="system/HTTP/CURLRequest.php">CURLRequest.php</abbr></a></abbr>
18311831
:
1832-
<span class="phpdocumentor-element-found-in__line">674</span>
1832+
<span class="phpdocumentor-element-found-in__line">660</span>
18331833

18341834
</aside>
18351835

0 commit comments

Comments
 (0)