mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 10:00:30 +08:00
feat: add native/Java auth SDK, docs, CI, and examples
Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* 自研适配器用的最小 HTTP 门面(后续可接 libcurl / WinHTTP)。
|
||||
*
|
||||
* 版权所有 © 广州创飞人工智能技术有限公司
|
||||
* 开发者:huangping@craftlabs.cn
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* 对给定基地址做连通性探测;当前为占位实现。
|
||||
* @param base_url 服务根 URL,可为空(实现定义行为)。
|
||||
* @return 0 表示占位成功,非 0 预留为错误码。
|
||||
*/
|
||||
int selfhosted_http_ping(const char* base_url);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user