✨ feat(tsl-api-reference): index class and unit APIs
Migrate reference pages to declaration-line storage and rebuild the 13-column index. Add qualified member lookup plus regression and end-to-end coverage.
This commit is contained in:
@@ -2,24 +2,32 @@
|
||||
|
||||
## `unsetEchoString()`
|
||||
|
||||
声明:function
|
||||
|
||||
取出被SetEchoString后的重定向输出流,取出后重置输出流为空。
|
||||
|
||||
返回:string
|
||||
|
||||
## `isEchoRedirect()`
|
||||
|
||||
声明:function
|
||||
|
||||
判断目前是否被SetEchoString重定向,如果被重定向了,返回为真,否则为假。
|
||||
|
||||
返回:bool
|
||||
|
||||
## `readLn()`
|
||||
|
||||
声明:function
|
||||
|
||||
从控制台读字符串并返回结果(输入以回车结束)。
|
||||
|
||||
返回:string
|
||||
|
||||
## `writeln(p1, pn)`
|
||||
|
||||
声明:function
|
||||
|
||||
带回车地输出字符串,如果在平台运行,会输出信息到客户端。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -43,6 +51,8 @@ writeln("333");
|
||||
|
||||
## `write(p1, pn)`
|
||||
|
||||
声明:function
|
||||
|
||||
输出字符串,如果在平台运行,会输出信息到客户端。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -66,18 +76,24 @@ return;
|
||||
|
||||
## `httpGetContent()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回前端发送的内容串,如果内容串长度和HttpGetContentLength不一致,则需要用TWebRequest类来读取剩余内容。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetContentLength()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回前端发送的内容串的长度。
|
||||
|
||||
返回:integer
|
||||
|
||||
## `httpGetQueryString()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回前端发送的查询串。
|
||||
|
||||
返回:string
|
||||
@@ -91,18 +107,24 @@ return;
|
||||
|
||||
## `httpGetRequestMethod()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回前端发送请求的类型。如get或者put。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetQueryValues()`
|
||||
|
||||
声明:function
|
||||
|
||||
分解前端发送的查询串为字符串下标的字符串数组。
|
||||
|
||||
返回:array[key:string] of string
|
||||
|
||||
## `httpGetQueryValueByName(name, additional_info)`
|
||||
|
||||
声明:function
|
||||
|
||||
得到指定参数的查询串的值。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -114,6 +136,8 @@ return;
|
||||
|
||||
## `httpGetQueryValueByNameEx(name)`
|
||||
|
||||
声明:function
|
||||
|
||||
得到查询串的值,网页多文件一次性上传可能会用多同名多个内容的情况,返回二维数组结构。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -124,96 +148,128 @@ return;
|
||||
|
||||
## `httpGetScriptName()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回所执行的CGI名。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetPathInfo()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回所执行的CGI的虚拟路径名。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetPathTranslated()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回所执行的CGI的实路径名。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetRemoteHost()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回所执行的CGI的前端主机名。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetRemoteAddr()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回所执行的CGI的前端IP地址。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetRemoteUser()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回所执行的CGI的远端登录用户名。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetRemoteIdent()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回所执行的CGI的远端识别串。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetHttpAccept()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回接受的类型种类。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetHttpUserAgent()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回用户代理串。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetServerName()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回服务器名。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetServerPort()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回服务器端口。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetServerProtocol()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回服务器协议类别。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetServerSoftware()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回服务器软件的名称。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetGatewayInterface()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回网关接口。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetCookie()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回Cookie串。
|
||||
|
||||
返回:string
|
||||
|
||||
## `httpGetEnvVar(env_name)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回指定名称的环境串。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
@@ -224,6 +280,8 @@ return;
|
||||
|
||||
## `httpSetHeadString(header)`
|
||||
|
||||
声明:function
|
||||
|
||||
设置返回的HTTP头。
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
|
||||
Reference in New Issue
Block a user