Package-level declarations

Types

Link copied to clipboard
@Serializable
data class CacheState(val data: String, val eTag: String?, val expireBy: Long = 0)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class HttpHeader(val key: String, val value: String)
Link copied to clipboard
class HttpRequest(val url: String, val method: HttpRequestMethod, val bodyMap: Map<*, *>?, val bodyString: String?, contentType: String?, val headers: List<HttpHeader> = listOf(), val api: GenericSpotifyApi? = null)

Provides a fast, easy, and slim way to execute and retrieve HTTP GET, POST, PUT, and DELETE requests

Link copied to clipboard
Link copied to clipboard
@Serializable
data class HttpResponse(val responseCode: Int, val body: String, val headers: List<HttpHeader>)
Link copied to clipboard
Link copied to clipboard
abstract class SpotifyEndpoint(val api: GenericSpotifyApi)
Link copied to clipboard
data class SpotifyRequest(val url: String, val method: HttpRequestMethod, val body: String?, val api: GenericSpotifyApi)