Skip to content

Commit

Permalink
a function to get http status code (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
fahamjv authored May 28, 2022
1 parent 6c9a903 commit 73da951
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/InstagramScraper/Exception/InstagramException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ public function getResponseBody()
{
return $this->responseBody;
}

public function getHttpCode()
{
return $this->code;
}
}

0 comments on commit 73da951

Please sign in to comment.