Skip to main content

status

Function status 

Source
pub fn status(conn: &Conn, color: bool) -> StatusOutput
Available on crate feature client only.
Expand description

Formatter for the HTTP response status.

Displays the numeric status code, or --- if no response was received. With color enabled, 2xx is green, 3xx cyan, 4xx yellow, 5xx red.