Skip to content

Commit

Permalink
Add disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
mezhevikin committed Jan 3, 2023
1 parent 0cbafa8 commit 06dcc8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class HttpRequest(
reader.readText()
}
}
connection.disconnect()
completion(response)
} catch (e: Exception) {
val response = HttpResponse()
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ repositories {
2. Add dependencies

```
implementation 'com.github.mezhevikin:http-request-kotlin:0.0.4'
implementation 'com.github.mezhevikin:http-request-kotlin:0.0.5'
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1'
```

Expand Down

0 comments on commit 06dcc8c

Please sign in to comment.