差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
manual:reference:package:extend:curl:session:main_page [2021/07/01 00:11] – rend | manual:reference:package:extend:curl:session:main_page [2021/11/19 17:55] (当前版本) – mikecovlee | ||
---|---|---|---|
行 1: | 行 1: | ||
- | |void set_url([session], | + | ====== Curl 会话 ====== |
- | |void set_tcp_keep_alive([session], | + | 与'' |
- | |void set_http_post([session], | + | |
- | |void use_ssl([session], | + | Curl 包中,会话的对象为 **session** 类。\\ |
- | |void set_ssl_verify_host([session], | + | 通过以下方法创建会话: |
- | |void set_ssl_verify_peer([session], | + | ^方法 |
- | |void set_ssl_cert([session], | + | |[session] **make_session_is**([istream]) |
- | |void set_ssl_key([session], | + | |[session] **make_session_os**([ostream]) |
- | |void set_ssl_passwd([session], | + | |[session] **make_session_ios**([istream], |
- | |void set_connect_timeout([session], | + | |
- | |void set_connect_timeout_ms([session], | + | **session** 对象具有以下方法: |
- | |void set_accept_timeout_ms([session], | + | ^方法 |
- | |void set_transmit_timeout([session], | + | |void **set_url**([session], string) |
- | |void set_transmit_timeout_ms([session], | + | |void **set_tcp_keep_alive**([session], number probe) |
- | |**boolean** perform([session]) | + | |void **set_http_post**([session], boolean use_post) |
+ | |void **set_http_post_fields**([session], | ||
+ | |void **use_ssl**([session], | ||
+ | |void **set_ssl_verify_host**([session], bool verify) | ||
+ | |void **set_ssl_verify_peer**([session], bool verify) | ||
+ | |void **set_ssl_cert**([session], string path) |设置 SSL 证书 | ||
+ | |void **set_ssl_key**([session], string path) |设置 SSL 密钥 | ||
+ | |void **set_ssl_passwd**([session], string passwd) | ||
+ | |void **set_connect_timeout**([session], number time) |设置连接超时时间(秒) | ||
+ | |void **set_connect_timeout_ms**([session], number time) |设置连接超时时间(毫秒) | ||
+ | |void **set_accept_timeout_ms**([session], number time) |设置接受超时时间(毫秒) | ||
+ | |void **set_transmit_timeout**([session], number time) |设置传输超时时间(秒) | ||
+ | |void **set_transmit_timeout_ms**([session], number time) |设置传输超时时间(毫秒) | ||
+ | |boolean **perform**([session]) | ||
+ | |||
+ | ---- | ||
+ | \\ |