流量信息

获取实时流量

获取实时流量.GET/WS,每秒推送一次.

get/traffic

Request

  • Base URL
    http://127.0.0.1:9093
  • URL
    http://127.0.0.1:9093/traffic
  • Auth
    HTTP bearer

Response

流式 JSON,每秒一行.

upinteger

当前上传速率(字节/秒).

downinteger

当前下载速率(字节/秒).

upTotalinteger

累计上传字节数.

downTotalinteger

累计下载字节数.

Changes

No recorded changes to this operation across all 2 revisions of this API.