mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-01 19:00:35 +08:00
支持自动转换图像文件为WebP
This commit is contained in:
@@ -22,6 +22,9 @@ service HTTPWebService {
|
||||
// 更改压缩配置
|
||||
rpc updateHTTPWebCompression (UpdateHTTPWebCompressionRequest) returns (RPCSuccess);
|
||||
|
||||
// 更改WebP配置
|
||||
rpc updateHTTPWebWebP (UpdateHTTPWebWebPRequest) returns (RPCSuccess);
|
||||
|
||||
// 更改字符集配置
|
||||
rpc updateHTTPWebCharset (UpdateHTTPWebCharsetRequest) returns (RPCSuccess);
|
||||
|
||||
@@ -113,6 +116,12 @@ message UpdateHTTPWebCompressionRequest {
|
||||
bytes compressionJSON = 2;
|
||||
}
|
||||
|
||||
// 更改WebP配置
|
||||
message UpdateHTTPWebWebPRequest {
|
||||
int64 webId = 1;
|
||||
bytes webpJSON = 2;
|
||||
}
|
||||
|
||||
// 更改字符集配置
|
||||
message UpdateHTTPWebCharsetRequest {
|
||||
int64 webId = 1;
|
||||
|
||||
Reference in New Issue
Block a user