feat(net): add option to disable compression

This commit is contained in:
yusing
2025-05-28 22:09:25 +08:00
parent 2628d9e8a8
commit 717fd0e58c
2 changed files with 4 additions and 0 deletions

View File

@@ -7,4 +7,5 @@ import (
type HTTPConfig struct {
NoTLSVerify bool `json:"no_tls_verify,omitempty"`
ResponseHeaderTimeout time.Duration `json:"response_header_timeout,omitempty"`
DisableCompression bool `json:"disable_compression,omitempty"`
}