Sync README files from source repository [skip ci]

This commit is contained in:
Gitea Actions
2026-01-26 07:15:42 +00:00
parent 135e7c33b1
commit f1c4258b02
+1 -3
View File
@@ -57,7 +57,6 @@ Hướng dẫn chi tiết để migrate code client từ ProxyPool (legacy) sang
"Protocol": "Grpc", "Protocol": "Grpc",
"Host": "10.9.3.70", "Host": "10.9.3.70",
"Port": 5001, "Port": 5001,
"DefaultAccessToken": "your-access-token",
"UseSecureConnection": false, "UseSecureConnection": false,
"TimeoutMs": 30000, "TimeoutMs": 30000,
"EnableClientCache": true, "EnableClientCache": true,
@@ -71,7 +70,7 @@ Hướng dẫn chi tiết để migrate code client từ ProxyPool (legacy) sang
**Lưu ý:** **Lưu ý:**
- SmartPool sử dụng port khác (5001 cho gRPC, 5000 cho HTTP) - SmartPool sử dụng port khác (5001 cho gRPC, 5000 cho HTTP)
- Cần cấu hình `DefaultAccessToken` nếu muốn tự động inject vào requests - Cần cấu hình `ConfigManager:AccessToken` nếu muốn tự động inject vào requests
### Step 3: Cập Nhật Service Registration ### Step 3: Cập Nhật Service Registration
@@ -99,7 +98,6 @@ services.AddSmartPoolClient(configuration, options =>
options.Protocol = SmartPoolProtocol.Grpc; options.Protocol = SmartPoolProtocol.Grpc;
options.Host = "10.9.3.70"; options.Host = "10.9.3.70";
options.Port = 5001; options.Port = 5001;
options.DefaultAccessToken = "your-access-token";
}); });
``` ```