跳到主要内容

检查连接缓存

Request

GET /api/check_rpc_channel/{host_to_check}/{remot_brpc_port}/{payload_size}

Description

该功能用于检查brpc的连接缓存。

Path parameters

  • host_to_check

    需要查检的IP。

  • remot_brpc_port

    需要查检的端口。

  • payload_size

    负载大小,单位B,取值范围1~1024000。

Request body

Response

```
{
"msg":"success",
"code":0,
"data": "open brpc connection to {host_to_check}:{remot_brpc_port} success.",
"count":0
}
```

Examples

```
curl http://127.0.0.1:8040/api/check_rpc_channel/127.0.0.1/8060/1024000
```