Package com.adamratzman.spotify.http

Types

CacheState
Link copied to clipboard
common
data class CacheState(data: String, eTag: String?, expireBy: Long)
HttpConnection
Link copied to clipboard
common
class HttpConnection(url: String, method: HttpRequestMethod, bodyMap: Map<*, *>?, bodyString: String?, contentType: String?, headers: List<HttpHeader>, api: GenericSpotifyApi?)
Provides a fast, easy, and slim way to execute and retrieve HTTP GET, POST, PUT, and DELETE requests
HttpConnectionStatus
Link copied to clipboard
common
enum HttpConnectionStatus : Enum<HttpConnectionStatus>
HttpHeader
Link copied to clipboard
common
data class HttpHeader(key: String, value: String)
HttpRequestMethod
Link copied to clipboard
common
enum HttpRequestMethod : Enum<HttpRequestMethod>
HttpResponse
Link copied to clipboard
common
data class HttpResponse(responseCode: Int, body: String, headers: List<HttpHeader>)
SpotifyCache
Link copied to clipboard
common
class SpotifyCache
SpotifyEndpoint
Link copied to clipboard
common
abstract class SpotifyEndpoint(api: GenericSpotifyApi)
SpotifyRequest
Link copied to clipboard
common
data class SpotifyRequest(url: String, method: HttpRequestMethod, body: String?, api: GenericSpotifyApi)