feat(tsl-api-reference): expand API and module coverage

This commit is contained in:
csh
2026-08-14 17:12:55 +08:00
parent 8f1056130d
commit 3d3036ebe1
571 changed files with 47842 additions and 14458 deletions
@@ -6,13 +6,13 @@
封装 HTTP 请求头、请求参数、Cookie 和请求正文的内置对象
<!-- tags: Object TWebRequest Web 请求 对象 实例 HTTP -->
<!-- tags: Object TWebRequest Web 请求 对象 实例 HTTP 创建 生成 构造函数 实例化 new -->
### `create()`
声明:function
创建 TWebRequest 实例
无参数构造函数。创建 TWebRequest 实例
<!-- tags: Object TWebRequest Web 请求 创建 生成 对象 实例 -->
@@ -28,8 +28,8 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| --------- | ----------- | ----------------------------------------------------------- |
| `strings` | TStringList | TStrings类型,用来存贮展开的内容,假定发送的内容是以&分割的 |
返回:any
@@ -44,8 +44,8 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| --------- | ----------- | ------------------------------------------------------------- |
| `strings` | TStringList | TStrings类型,用来存贮展开的内容,假定Cookie的内容是以;分割的 |
返回:any
@@ -60,8 +60,8 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| --------- | ----------- | ------------------------------------------------------------ |
| `strings` | TStringList | TStrings类型,用来存贮展开的内容,假定Query的内容是以&分割的 |
返回:any
@@ -76,8 +76,8 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ------ | ------ | ---------------- |
| `name` | string | 要取的内容的名字 |
返回:string
@@ -92,10 +92,10 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `buffer` | string/binary | 字符串或者二进制流,用来存贮读出的内容 |
| `count` | integer | 整数类型,读取的长度,不可超过Buffer的长度 |
| 参数 | 类型 | 说明 |
| -------- | ------------- | ------------------------------------------ |
| `buffer` | string/binary | 字符串或者二进制流,用来存贮读出的内容 |
| `count` | integer | 整数类型,读取的长度,不可超过Buffer的长度 |
返回:integer
@@ -109,8 +109,8 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ------- | ------- | -------------------- |
| `count` | integer | 整数类型,读取的长度 |
返回:string
@@ -125,8 +125,8 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ----- | ------ | ---------- |
| `uri` | string | 要转换的串 |
返回:string
@@ -141,10 +141,10 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `buffer` | string/binary | 字符串或者二进制流,要发送的内容 |
| `count` | integer | 整数类型,写入的长度,不可超过Buffer的长度 |
| 参数 | 类型 | 说明 |
| -------- | ------------- | ------------------------------------------ |
| `buffer` | string/binary | 字符串或者二进制流,要发送的内容 |
| `count` | integer | 整数类型,写入的长度,不可超过Buffer的长度 |
返回:integer
@@ -158,11 +158,11 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `status_code` | integer | 整数类型,状态码,如200为正确。 ReasonString:字符串类型,理由串,例如返回了一个错误,需要有个显示的理由 |
| `reson_string` | any | reson_string |
| `headers` | string | 字符串类型,头部信息串 |
| 参数 | 类型 | 说明 |
| -------------- | ------- | ------------------------------------------------------------------------------------------------------- |
| `status_code` | integer | 整数类型,状态码,如200为正确。 ReasonString:字符串类型,理由串,例如返回了一个错误,需要有个显示的理由 |
| `reson_string` | any | reson_string |
| `headers` | string | 字符串类型,头部信息串 |
返回:boolean
@@ -176,9 +176,9 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `s` | string/binary | 字符串,要发送的内容 |
| 参数 | 类型 | 说明 |
| ---- | ------------- | -------------------- |
| `s` | string/binary | 字符串,要发送的内容 |
返回:boolean