twilight_lavalink::http

Function unmark_failed_address

Source
pub fn unmark_failed_address(
    node_address: impl Into<SocketAddr>,
    authorization: impl AsRef<str>,
    route_address: impl Into<IpAddr>,
) -> Result<Request<Vec<u8>>, Error>
Available on crate feature http-support only.
Expand description

Unmark an IP address as being failed, meaning that it can be used again.

The response will not include a body on success.

ยงErrors

See the documentation for [http::Error].