Function twilight_lavalink::http::load_track
source · pub fn load_track(
address: SocketAddr,
identifier: impl AsRef<str>,
authorization: impl AsRef<str>
) -> Result<Request<&'static [u8]>, Error>
Available on crate feature
http-support
only.Expand description
Get a list of tracks that match an identifier.
The response will include a body which can be deserialized into a
LoadedTracks
.
§Errors
See the documentation for [http::Error
].