Module http

Module http 

Source
Expand description

Models to deserialize responses into and functions to create http crate requests.

Structs§

FailingAddress
A failing IP address within the planner.
IpBlock
A block of IP addresses.
LoadedTracks
Possible track results for a query.
NanoIpDetails
Information about a Nano IP planner.
NanoIpRoutePlanner
A Nano IP planner.
PlaylistInfo
Information about a playlist from a search result.
PlaylistResult
The playlist with the provided tracks. Currently plugin info isn’t supported
RotatingIpDetails
Information about a Rotating IP planner.
RotatingIpRoutePlanner
A Rotating IP planner.
RotatingNanoIpDetails
Information about a Rotating Nano IP planner.
RotatingNanoIpRoutePlanner
A Rotating Nano IP planner.

Enums§

IpBlockType
The IP version in use by the block.
LoadResultData
The result return data from a search query to Lavalink.
LoadResultName
The return type of the data in the search result from Lavalink.
RoutePlanner
The route planner in use.
RoutePlannerType
The type of route planner in use.

Functions§

decode_track
Decode the audio into its object information which include author, length, position, title, uri, etc.
get_route_planner
Get the configured route planner for a node by address.
load_track
Get a list of tracks that match an identifier.
unmark_failed_address
Unmark an IP address as being failed, meaning that it can be used again.