Skip to content

Support custom HTTP methods in NetworkKMM - #48

Open
bytemain wants to merge 5 commits into
Tencent-TDS:masterfrom
botiverse:codex/network-custom-methods
Open

Support custom HTTP methods in NetworkKMM#48
bytemain wants to merge 5 commits into
Tencent-TDS:masterfrom
botiverse:codex/network-custom-methods

Conversation

@bytemain

@bytemain bytemain commented Jun 23, 2026

Copy link
Copy Markdown

Summary

  • add VBTransportRequest/VBTransportResponse for custom HTTP methods
  • support GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS across Android, iOS, and OHOS paths
  • pass the selected method through the OHOS libcurl wrapper and keep existing get/post APIs compatible

Verification

  • GRADLE_USER_HOME=/tmp/codex-gradle-kuiklybase JAVA_HOME=$(/usr/libexec/java_home -v 22) ./gradlew :network:compileCommonMainKotlinMetadata --no-daemon
  • GRADLE_USER_HOME=/tmp/codex-gradle-kuiklybase JAVA_HOME=$(/usr/libexec/java_home -v 22) ./gradlew :network:compileDebugKotlinAndroid --no-daemon
  • GRADLE_USER_HOME=/tmp/codex-gradle-kuiklybase JAVA_HOME=$(/usr/libexec/java_home -v 22) ./gradlew :network:compileKotlinOhosArm64 --no-daemon
  • GRADLE_USER_HOME=/tmp/codex-gradle-kuiklybase JAVA_HOME=$(/usr/libexec/java_home -v 22) ./gradlew :network:compileKotlinIosArm64 --no-daemon
  • c++ -std=c++17 -fsyntax-only ... curl_wrapper.cpp

@tencent-adm

tencent-adm commented Jun 23, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants