decode_track

Function decode_track 

Source
pub fn decode_track(
    address: SocketAddr,
    encoded: impl AsRef<str>,
    authorization: impl AsRef<str>,
) -> Result<Request<&'static [u8]>, Error>
Expand description

Decode the audio into its object information which include author, length, position, title, uri, etc.

The response will include a body which can be deserialized into a Track.

ยงErrors

See the documentation for [http::Error].