名称 | 描述 |
|---|
typedef enum Rcp_FormValueType Rcp_FormValueType | 表单值类型。 |
typedef int(* Rcp_GetDataCallback) (char *out, uint32_t size) | 通过回调函数获取数据。当API需要将数据的下一部分发送到服务器时,将调用此回调。 |
typedef enum Rcp_ContentOrPathOrCallbackType Rcp_ContentOrPathOrCallbackType | 回调的内容、路径或类型。用于区分Rcp_ContentOrPathOrCallback中使用的数据。 |
typedef struct Rcp_Buffer Rcp_Buffer | 文本存储结构。 |
typedef struct Rcp_ContentOrPathOrCallback Rcp_ContentOrPathOrCallback | Rcp_FormFieldFileValue中使用的简单表单数据字段值。 |
typedef enum Rcp_MultipartValueType Rcp_MultipartValueType | 多部分值类型。用于区分Rcp_MultipartFormFieldValue中使用的数据。 |
typedef struct Rcp_FormFieldFileValue Rcp_FormFieldFileValue | 表单字段文件值。 |
typedef struct Rcp_FormFieldValue Rcp_FormFieldValue | 简单表单数据字段值,参见Rcp_Form和Rcp_MultipartFormFieldValue。 |
typedef struct Rcp_MultipartFormFieldValue Rcp_MultipartFormFieldValue | 多部分表单域值,在Rcp_MultipartForm中使用。 |
typedef enum Rcp_ContentType Rcp_ContentType | 内容类型。用于区分Rcp_RequestContent中使用的数据。 |
typedef struct Rcp_Form Rcp_Form | 简单表单。 |
typedef struct Rcp_MultipartForm Rcp_MultipartForm | 多部分表单。 |
typedef struct Rcp_RequestContent Rcp_RequestContent | 请求的内容。 |
typedef struct Rcp_Headers Rcp_Headers | 请求或响应的标头。 |
typedef struct Rcp_HeaderValue Rcp_HeaderValue | 请求或响应的标头映射的值类型。 |
typedef struct Rcp_HeaderEntry Rcp_HeaderEntry | 请求或响应的标头的所有键值对。 |
typedef enum Rcp_AuthenticationType Rcp_AuthenticationType | 枚举类型。服务器的身份验证类型。如果未设置,请与服务器协商。 |
typedef struct Rcp_Credential Rcp_Credential | 凭据。某些服务器或代理服务器需要。 |
typedef struct Rcp_ServerAuthentication Rcp_ServerAuthentication | 服务器身份验证。 |
typedef bool(* Rcp_ExclusionFunction) (const char *url) | 判断host是否使用代理的函数指针。 |
typedef struct Rcp_Urls Rcp_Urls | url,用于确定主机是否正在使用代理。 |
typedef enum Rcp_ExclusionsValueType Rcp_ExclusionsValueType | 代理排除中使用的数据类型. 用于区分Rcp_Exclusions中使用的数据。 |
typedef struct Rcp_Exclusions Rcp_Exclusions | 代理配置中用于过滤不使用代理的URLs。 |
typedef enum Rcp_CertType Rcp_CertType | 客户端证书类型。 |
typedef struct Rcp_CertificateAuthority Rcp_CertificateAuthority | 用于验证远程服务器标识的证书颁发机构(CA)。 |
typedef struct Rcp_ClientCertificate Rcp_ClientCertificate | 发送到远程服务器的客户端证书,远程服务器将使用它来验证客户端的标识。 |
typedef enum Rcp_RemoteValidationType Rcp_RemoteValidationType | 远程验证类型。 |
typedef struct Rcp_SecurityConfiguration Rcp_SecurityConfiguration | 请求的安全配置。 |
typedef enum Rcp_ProxyTunnelMode Rcp_ProxyTunnelMode | 用于控制何时创建代理隧道。 隧道或隧道传输意味着向代理发送HTTP CONNECT请求,要求它连接到特定端口号上的远程主机,然后流量只是通过代理。“auto”表示为HTTPS创建隧道。“always”表示始终创建隧道。 |
typedef struct Rcp_WebProxy Rcp_WebProxy | 自定义代理配置。 |
typedef struct Rcp_IpAndPort Rcp_IpAndPort | 该接口用在Rcp_DnsServers中,表示一个DNS服务器的地址和端口。 |
typedef struct Rcp_DnsServers Rcp_DnsServers | DNS服务器。Rcp_DnsConfiguration.dnsRules中的类型之一。 |
typedef struct Rcp_IpAddress Rcp_IpAddress | 指定静态DNS规则使用的IP地址组。用于Rcp_StaticDnsRuleItem。 |
typedef struct Rcp_StaticDnsRuleItem Rcp_StaticDnsRuleItem | 描述单个静态DNS规则。 |
typedef struct Rcp_StaticDnsRule Rcp_StaticDnsRule | 静态DNS规则。 |
typedef Rcp_IpAddress *(* Rcp_DynamicDnsRuleFunction) (const char *host, uint16_t port) | 一个可以根据主机名和端口直接返回IP地址的函数。用于动态DNS解析。 |
typedef enum Rcp_DnsRuleType Rcp_DnsRuleType | DNS规则类型。用于区分Rcp_DnsRule中使用的dns规则类型。 |
typedef struct Rcp_DnsRule Rcp_DnsRule | DNS规则配置。 |
typedef size_t(* Rcp_OnDataReceiveCallbackFunc) (void *usrObject, const char *data) | 接收到响应正文时调用的回调函数。 |
typedef size_t(* Rcp_OnBinaryReceiveCallbackFunc) (void *usrObject, Rcp_Buffer *buffer) | 接收到响应正文时调用的回调函数(二进制数据)。 |
typedef void(* Rcp_OnProgressCallbackFunc) (void *usrObject, uint64_t totalSize, uint64_t transferredSize) | 请求/响应数据传输过程中调用的回调函数。 |
typedef void(* Rcp_OnHeaderReceiveCallbackFunc) (void *usrObject, Rcp_Headers *headers) | 收到所有请求时调用的回调。 |
typedef void(* Rcp_OnVoidCallbackFunc) (void *usrObject) | 请求的DataEnd或Canceled事件回调的回调函数。 |
typedef struct Rcp_OnDataReceiveCallback Rcp_OnDataReceiveCallback | 接收到数据时回调。Rcp_EventsHandler中的配置。 |
typedef struct Rcp_OnProgressCallback Rcp_OnProgressCallback | 收发时回调配置,在Rcp_EventsHandler中配置。 |
typedef struct Rcp_OnHeaderReceiveCallback Rcp_OnHeaderReceiveCallback | Rcp_EventsHandler中配置的接收到的header的回调配置。 |
typedef struct Rcp_OnVoidCallback Rcp_OnVoidCallback | 在Rcp_EventsHandler中配置的数据结束或已取消事件的回调配置。 |
typedef struct Rcp_EventsHandler Rcp_EventsHandler | 监听不同HTTP事件的回调函数。 |
typedef struct Rcp_Timeout Rcp_Timeout | 请求的超时配置。 |
typedef struct Rcp_DnsOverHttps Rcp_DnsOverHttps | HTTPS上的DNS配置如果设置,则首选由DOH dns服务器解析的地址。 |
typedef enum Rcp_PathPreference Rcp_PathPreference | 请求路径首选项。 |
typedef struct Rcp_TransferConfiguration Rcp_TransferConfiguration | 传输配置。 |
typedef struct Rcp_InfoToCollect Rcp_InfoToCollect | 指定要收集的请求处理事件。可以通过响应对象检查收集的事件。 |
typedef struct Rcp_TracingConfiguration Rcp_TracingConfiguration | 请求追踪配置。 |
typedef enum Rcp_ProxyType Rcp_ProxyType | 代理类型。用于区分不同的代理配置。 |
typedef struct Rcp_ProxyConfiguration Rcp_ProxyConfiguration | 代理配置。 |
typedef struct Rcp_DnsConfiguration Rcp_DnsConfiguration | DNS解析配置 |
typedef struct Rcp_Configuration Rcp_Configuration | 请求配置。 |
typedef struct Rcp_TransferRange Rcp_TransferRange | HTTP传输范围。该设置将转换为HTTP Range标头。具有范围标头的HTTP请求要求服务器仅发送回HTTP响应的一部分。 |
typedef struct Rcp_RequestCookies Rcp_RequestCookies | 请求Cookie。 |
typedef struct Rcp_Request Rcp_Request | 网络请求。 |
typedef struct Rcp_RequestCookieEntry Rcp_RequestCookieEntry | 描述请求的所有Cookie键值对。 |
typedef enum Rcp_StatusCode Rcp_StatusCode | 请求响应的状态码。 |
typedef enum Rcp_DebugEvent Rcp_DebugEvent | 描述调试信息的事件类型。 |
typedef struct Rcp_DebugInfo Rcp_DebugInfo | 描述存储在Rcp_Response中的调试信息的结构。 |
typedef struct Rcp_CookieAttributes Rcp_CookieAttributes | 描述Rcp_Response中Cookie属性的类型。 |
typedef struct Rcp_CookieAttributeEntry Rcp_CookieAttributeEntry | 响应Cookie属性条目。 |
typedef struct Rcp_ResponseCookies Rcp_ResponseCookies | 响应Cookie |
typedef struct Rcp_TimeInfo Rcp_TimeInfo | 响应计时信息。 |
typedef struct Rcp_Response Rcp_Response | 网络请求的响应。 |
typedef void(* Rcp_ResponseCallback) (void *usrCtx, Rcp_Response *response, uint32_t errCode) | 响应回调函数指针。 |
typedef struct Rcp_ResponseCallbackObject Rcp_ResponseCallbackObject | 响应回调结构体。 |
typedef struct Rcp_RequestHandler Rcp_RequestHandler | 与Rcp_Interceptor关联的异步处理器。 |
typedef struct Rcp_SyncRequestHandler Rcp_SyncRequestHandler | 与Rcp_SyncInterceptor关联的同步处理器。 |
typedef struct Rcp_Interceptor Rcp_Interceptor | 异步拦截器。 |
typedef struct Rcp_SyncInterceptor Rcp_SyncInterceptor | 同步拦截器。 |
typedef struct Rcp_InterceptorArray Rcp_InterceptorArray | 异步拦截器数组。 |
typedef struct Rcp_SyncInterceptorArray Rcp_SyncInterceptorArray | 同步拦截器数组。 |
typedef enum Rcp_SessionType Rcp_SessionType | 会话类型。 |
typedef struct Rcp_Session Rcp_Session | 会话。 |
typedef struct Rcp_SessionListener Rcp_SessionListener | 关闭或取消会话事件的回调函数。 |
typedef struct Rcp_ConnectionConfiguration Rcp_ConnectionConfiguration | 连接配置。 |
typedef struct Rcp_SessionConfiguration Rcp_SessionConfiguration | 会话配置。 |
typedef struct Rcp_OnBinaryReceiveCallback Rcp_OnBinaryReceiveCallback | 响应的二进制数据接收回调函数。 |
typedef size_t(* Rcp_OnBinaryReceiveCallbackFunc) (void *usrObject, Rcp_Buffer *buffer) | 二进制数据接收回调函数指针。 |