Skip to content

Commit 73da951

Browse files
author
fahamjv
authored
a function to get http status code (#1062)
1 parent 6c9a903 commit 73da951

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/InstagramScraper/Exception/InstagramException.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@ public function getResponseBody()
1616
{
1717
return $this->responseBody;
1818
}
19+
20+
public function getHttpCode()
21+
{
22+
return $this->code;
23+
}
1924
}

0 commit comments

Comments
 (0)