输入/搜索内容
内置函数
结构体
Trade
Ticker
Record
Order
OrderBook
Depth
Account
Position
Market
OtherStruct
HttpQuery-options
HttpQuery-return
LogStatus-table
LogStatus-btnTypeOne
LogStatus-btnTypeTwo
Chart-options
KLineChart-options
SetData-data
EventLoop-return
DBExec-return
Thread.join-return
内置变量

该JSON结构为HttpQuery函数调用时,在参数options结构中将debug字段设置为true后,HttpQuery函数在调试模式下返回的数据结构。

属性

名称类型描述

StatusCode

number

HTTP状态码

Header

JSON

请求头信息

Cookies

array

Cookie信息

Trace

JSON

请求的完整路径信息

Length

number

响应报文长度

Body

string

响应报文内容

参考

备注

返回的JSON数据结构示例:

json
{ "StatusCode": 302, "Header": { "Content-Type": ["text/html"], // ... }, "Cookies": [{ // ... }], "Trace": {}, "Length": 154, "Body": "..." }