Skip to main content

Crate statuses

Crate statuses 

Source

Structs§

Status
Represents an HTTP status with its code and message

Enums§

StatusError
Custom error types for status code operations

Functions§

all_codes
Returns all available status codes as a vector
all_messages
Returns all available status messages as a vector
code
Retrieves the HTTP status code for a given status message
is_valid_code
Checks if a given status code exists in the lookup table
is_valid_message
Checks if a given status message exists in the lookup table
message
Retrieves the HTTP status message for a given status code