本文档由"一诺"编写,测试使用
Authorization: ********************Authorization: ********************{
"name": "string",
"localIp": "string",
"localPort": 0,
"remotePort": 0,
"domain": "string",
"useEncryption": true,
"useCompression": true,
"cc_rules": {
"rate": 100,
"burst": 50
},
"bandwidth_limit": "10MB",
"max_connections": 100
}curl --location --request PUT 'https://api.hyperfrp.com/api/admin/proxies/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"localIp": "string",
"localPort": 0,
"remotePort": 0,
"domain": "string",
"useEncryption": true,
"useCompression": true,
"cc_rules": {
"rate": 100,
"burst": 50
},
"bandwidth_limit": "10MB",
"max_connections": 100
}'{
"id": 0,
"name": "string",
"type": "tcp",
"localIp": "string",
"localPort": 0,
"remotePort": 0,
"domain": "string",
"nodeId": 0,
"enabled": true,
"status": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"cc_rules": {
"rate": 100,
"burst": 50
},
"bandwidthLimit": "string",
"maxConnections": 0
}