NIM PC Cross Platform SDK
nim_pass_through_proxy.h
Go to the documentation of this file.
1
7#ifndef NIM_SDK_DLL_API_NIM_PASS_THROUGH_PROXY_H_
8#define NIM_SDK_DLL_API_NIM_PASS_THROUGH_PROXY_H_
9
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
23NIM_SDK_DLL_API void nim_reg_received_http_msg_cb(nim_received_http_msg_cb_func cb, const char* json_extension, const void* user_data);
24
44NIM_SDK_DLL_API void nim_pass_through_proxy_send_http_request(const char* host,
45 const char* path,
46 NIMSendHttpRequestMethods method,
47 const char* header,
48 const char* body,
49 const char* json_extension,
51 const void* user_data);
52
53#ifdef __cplusplus
54};
55#endif //__cplusplus
56
57#endif // NIM_SDK_DLL_API_NIM_PASS_THROUGH_PROXY_H_
NIM_SDK_DLL_API void nim_pass_through_proxy_send_http_request(const char *host, const char *path, NIMSendHttpRequestMethods method, const char *header, const char *body, const char *json_extension, nim_send_http_request_cb_func user_callback, const void *user_data)
NIM_SDK_DLL_API void nim_reg_received_http_msg_cb(nim_received_http_msg_cb_func cb, const char *json_extension, const void *user_data)
透传服务代理相关的常量函数等定义头文件
void(* nim_send_http_request_cb_func)(int res_code, const char *header, const char *body, const char *json_extension, const void *user_data)
Definition: nim_pass_through_proxy_def.h:31
void(* nim_received_http_msg_cb_func)(const char *from_accid, const char *body, uint64_t timestamp, const void *user_data)
Definition: nim_pass_through_proxy_def.h:41