Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zicheng1992/cxhttp
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzicheng committed Jul 20, 2023
2 parents 7c0c279 + 278be35 commit ae5995a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ dependencies {
runBlocking {
val job = CxHttp.get("https://www.baidu.com")
//此处可指定协程,不指定默认使用CxHttpHelper.scope
.scope(this)
.launch{ response ->
.scope(this).launch{ response ->
f(response.body != null){
println("resultGet1: ${response.body<String>()}")
} else {
Expand Down

0 comments on commit ae5995a

Please sign in to comment.