httprot v0.2.2 HTTProt.Status
Representation for an HTTP status.
Summary
Functions
Check if the status is a failure
Create a new Status from a code
Create a new Status with the given code and text
Check if the status is a success
Convert an HTTP error text to its integer equivalent
Convert an HTTP code to its text equivalent
Types
Functions
Check if the status is a failure.
Create a new Status from a code.
Check if the status is a success.
Convert an HTTP error text to its integer equivalent.
Convert an HTTP code to its text equivalent.