| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
| layout | doc |
|---|---|
| title | HttpCode - Codeception - Documentation |
Class containing constants of HTTP Status Codes and method to print HTTP code with its description.
Usage:
{% highlight php %}
seeResponseCodeIs(HttpCode::OK); $I->dontSeeResponseCodeIs(HttpCode::NOT_FOUND); {% endhighlight %} #### getDescription() *public static* getDescription($code) * `param int` $code * `return string|int` Returns string with HTTP code and its description {% highlight php %}| Back | FazBrowse Home | New Git URL |