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 @@
用于创建、解析、保存和发送邮件消息的内置对象
<!-- tags: Object MailMsg 邮件消息 写入 保存 对象 实例 邮件 SMTP POP3 IMAP -->
<!-- tags: Object MailMsg 邮件消息 写入 保存 对象 实例 邮件 SMTP POP3 IMAP 创建 生成 构造函数 实例化 new -->
### `create()`
声明:function
创建 MailMsg 实例
无参数构造函数。创建空的 MailMsg 实例,用于组装邮件消息
<!-- tags: Object MailMsg 邮件消息 创建 生成 对象 实例 邮件 SMTP POP3 IMAP -->
@@ -52,8 +52,8 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| -------------- | ------- | ------------------------------ |
| `headers_only` | boolean | 真假型,是否仅仅只要头部的内容 |
返回:binary
@@ -68,11 +68,11 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 可选。字符串类型,目录别名。可省略 |
| `file_name` | string | 字符串类型,文件名 |
| `headers_only` | boolean | 可选。是否仅需要头部内容 |
| 参数 | 类型 | 说明 |
| -------------- | ------- | ---------------------------------- |
| `alias` | string | 可选。字符串类型,目录别名。可省略 |
| `file_name` | string | 字符串类型,文件名 |
| `headers_only` | boolean | 可选。是否仅需要头部内容 |
返回:any
@@ -86,9 +86,9 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `stream` | comobj | 流类型对象 |
| 参数 | 类型 | 说明 |
| -------------- | ------- | ------------------------ |
| `stream` | comobj | 流类型对象 |
| `headers_only` | boolean | 可选。是否仅需要头部内容 |
返回:any
@@ -103,9 +103,9 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `index` | any | index |
| 参数 | 类型 | 说明 |
| ------- | ---- | ----- |
| `index` | any | index |
返回:messagepart
@@ -119,11 +119,11 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `alias` | string | 可选。字符串类型,目录别名。可省略 |
| `file_name` | string | 字符串类型,文件名 |
| `headers_only` | boolean | 可选。是否仅保存头部内容 |
| 参数 | 类型 | 说明 |
| -------------- | ------- | ---------------------------------- |
| `alias` | string | 可选。字符串类型,目录别名。可省略 |
| `file_name` | string | 字符串类型,文件名 |
| `headers_only` | boolean | 可选。是否仅保存头部内容 |
返回:any
@@ -137,9 +137,9 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `stream` | comobj | 流类型对象 |
| 参数 | 类型 | 说明 |
| -------------- | ------- | ------------------------ |
| `stream` | comobj | 流类型对象 |
| `headers_only` | boolean | 可选。是否仅保存头部内容 |
返回:any
@@ -154,11 +154,11 @@
可见性:public
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `cmd` | string | 字符串类型,发送的命令 |
| `cmd_result` | string | 可选。返回的结果串 |
| `ret_code` | string | 可选。返回的代码串 |
| 参数 | 类型 | 说明 |
| ------------ | ------ | ---------------------- |
| `cmd` | string | 字符串类型,发送的命令 |
| `cmd_result` | string | 可选。返回的结果串 |
| `ret_code` | string | 可选。返回的代码串 |
返回:boolean