Skip to content

Commit d57c83d

Browse files
authored
Merge pull request #4 from ArtIlchenko/4.0.x
added getter for CurlRequest::request
2 parents 840b142 + 1eb278a commit d57c83d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Request/CurlRequest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ public function withBody(StreamInterface $body)
178178
return $copy;
179179
}
180180

181+
public function getRequest(): RequestInterface
182+
{
183+
return $this->request;
184+
}
185+
181186
public function pack(RequestInterface $request)
182187
{
183188
try {

0 commit comments

Comments
 (0)