Skip to content

Commit 8e4b2b7

Browse files
committed
Add setDirtyCurler to HTTP
1 parent 12bd2a6 commit 8e4b2b7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Transport/Http.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,15 @@ public function setCurler()
8989
$this->_curler = new CurlerRolling();
9090
}
9191

92+
/**
93+
* @param CurlerRolling $curler
94+
*/
95+
public function setDirtyCurler(CurlerRolling $curler){
96+
if ($curler instanceof CurlerRolling){
97+
$this->_curler = $curler;
98+
}
99+
}
100+
92101
/**
93102
* @return CurlerRolling
94103
*/

0 commit comments

Comments
 (0)