We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's better to close body calling asString()
asString()
fun Response.asString(): String? = body()?.use { it.string() }
The text was updated successfully, but these errors were encountered:
Response body ext improvements #132 (#133)
97fc696
* 1. closing body 2. added explicit types 3. added docs * changed patch configuration for codcov * Update kohttp/src/main/kotlin/io/github/rybalkinsd/kohttp/ext/ResponseExt.kt Co-Authored-By: DeviantBadge <zhenya_vorobyov@mail.ru> * Update kohttp/src/main/kotlin/io/github/rybalkinsd/kohttp/ext/ResponseExt.kt Co-Authored-By: DeviantBadge <zhenya_vorobyov@mail.ru>
1889895
Feature/128 multimodule (#130)
d6e2434
* poc init * kohttp-jackson module initial * introduced kohttp-test project for mixed tests with both kohttp-core & kohttp-jackson & etc in future * 1. renamed kohttp-core -> kohttp 2. gitignore changes 3. changes in gradle to use jacoco multi-module * removed eager ext * Response body ext improvements #132 (#133) * 1. closing body 2. added explicit types 3. added docs * changed patch configuration for codcov * Update kohttp/src/main/kotlin/io/github/rybalkinsd/kohttp/ext/ResponseExt.kt Co-Authored-By: DeviantBadge <zhenya_vorobyov@mail.ru> * Update kohttp/src/main/kotlin/io/github/rybalkinsd/kohttp/ext/ResponseExt.kt Co-Authored-By: DeviantBadge <zhenya_vorobyov@mail.ru> * rebase fixes with `asJson` * build gradle publication fixes * fix: escape \r in curl logging * initial refactoring of multipart body (#148) * initial refactoring of multipart body * fixed UploadContext implementation * updated multipart example * removing config default client with yaml feature * Changed asJson() behavior when body is null or empty
rybalkinsd
No branches or pull requests
It's better to close body calling
asString()
The text was updated successfully, but these errors were encountered: