mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-02 03:20:25 +08:00
增加页面优化相关API、配置、消息代号
This commit is contained in:
@@ -23,6 +23,9 @@ service HTTPWebService {
|
||||
// 更改压缩配置
|
||||
rpc updateHTTPWebCompression (UpdateHTTPWebCompressionRequest) returns (RPCSuccess);
|
||||
|
||||
// 更改页面优化配置
|
||||
rpc updateHTTPWebOptimization(UpdateHTTPWebOptimizationRequest) returns (RPCSuccess);
|
||||
|
||||
// 更改WebP配置
|
||||
rpc updateHTTPWebWebP (UpdateHTTPWebWebPRequest) returns (RPCSuccess);
|
||||
|
||||
@@ -159,6 +162,12 @@ message UpdateHTTPWebCompressionRequest {
|
||||
bytes compressionJSON = 2;
|
||||
}
|
||||
|
||||
// 更改页面优化配置
|
||||
message UpdateHTTPWebOptimizationRequest {
|
||||
int64 httpWebId = 1;
|
||||
bytes optimizationJSON = 2;
|
||||
}
|
||||
|
||||
// 更改WebP配置
|
||||
message UpdateHTTPWebWebPRequest {
|
||||
int64 httpWebId = 1;
|
||||
|
||||
Reference in New Issue
Block a user