-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhangzicheng
committed
Aug 15, 2023
1 parent
33ea05f
commit e7f6506
Showing
25 changed files
with
119 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
library/src/main/kotlin/com/zicheng/net/cxhttp/call/CxHttpCall.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package cxhttp.call | ||
|
||
import cxhttp.response.Response | ||
import cxhttp.request.Request | ||
|
||
|
||
interface CxHttpCall { | ||
|
||
suspend fun await(request: Request): Response | ||
|
||
} |
8 changes: 4 additions & 4 deletions
8
...om/zicheng/net/cxhttp/call/Okhttp3Call.kt → ...rc/main/kotlin/cxhttp/call/Okhttp3Call.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...g/net/cxhttp/converter/CxHttpConverter.kt → ...otlin/cxhttp/converter/CxHttpConverter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package com.zicheng.net.cxhttp.converter | ||
package cxhttp.converter | ||
|
||
interface CxHttpConverter: RequestBodyConverter, ResponseConverter |
8 changes: 4 additions & 4 deletions
8
...eng/net/cxhttp/converter/GsonConverter.kt → .../kotlin/cxhttp/converter/GsonConverter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...cxhttp/converter/ParameterizedTypeImpl.kt → ...cxhttp/converter/ParameterizedTypeImpl.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../cxhttp/converter/RequestBodyConverter.kt → .../cxhttp/converter/RequestBodyConverter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package com.zicheng.net.cxhttp.converter | ||
package cxhttp.converter | ||
|
||
interface RequestBodyConverter { | ||
|
||
|
8 changes: 4 additions & 4 deletions
8
...net/cxhttp/converter/ResponseConverter.kt → ...lin/cxhttp/converter/ResponseConverter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...om/zicheng/net/cxhttp/hook/HookRequest.kt → ...rc/main/kotlin/cxhttp/hook/HookRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...m/zicheng/net/cxhttp/hook/HookResponse.kt → ...c/main/kotlin/cxhttp/hook/HookResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...om/zicheng/net/cxhttp/request/Builders.kt → ...rc/main/kotlin/cxhttp/request/Builders.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...com/zicheng/net/cxhttp/request/Request.kt → ...src/main/kotlin/cxhttp/request/Request.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...cheng/net/cxhttp/response/CxHttpResult.kt → ...in/kotlin/cxhttp/response/CxHttpResult.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...m/zicheng/net/cxhttp/response/Response.kt → ...c/main/kotlin/cxhttp/response/Response.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ publishing { | |
pom { | ||
name = 'cxhttp' | ||
description = 'Network request framework based on kotlin coroutine and okhttp3 package' | ||
url = 'https://github.com/zicheng1992/cxhttp' | ||
url = 'https://github.com/zhzc0x/cxhttp' | ||
|
||
licenses { | ||
license { | ||
|
@@ -32,15 +32,15 @@ publishing { | |
} | ||
developers { | ||
developer { | ||
id = 'zicheng1992' | ||
id = 'zhzc0x' | ||
name = 'zhangzicheng' | ||
email = '[email protected]' | ||
} | ||
} | ||
scm { | ||
connection = 'https://github.com/zicheng1992/cxhttp.git' | ||
developerConnection = 'https://github.com/zicheng1992/cxhttp.git' | ||
url = 'https://github.com/zicheng1992/cxhttp' | ||
connection = 'https://github.com/zhzc0x/cxhttp.git' | ||
developerConnection = 'https://github.com/zhzc0x/cxhttp.git' | ||
url = 'https://github.com/zhzc0x/cxhttp' | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.