Skip to content

Commit 23cc710

Browse files
committed
document HttpConnection
1 parent 90f0b31 commit 23cc710

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/commonMain/kotlin/com.adamratzman.spotify/http/HttpConnection.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ internal data class HttpHeader(val key: String, val value: String)
3232

3333
internal data class HttpResponse(val responseCode: Int, val body: String, val headers: List<HttpHeader>)
3434

35+
/**
36+
* Provides a fast, easy, and slim way to execute and retrieve HTTP GET, POST, PUT, and DELETE requests
37+
*/
3538
internal class HttpConnection constructor(
3639
private val url: String,
3740
private val method: HttpRequestMethod,

0 commit comments

Comments
 (0)