SetEnabledGzip set whether to enable gzip, default is false
(isEnabled bool)
| 447 | |
| 448 | // SetEnabledGzip set whether to enable gzip, default is false |
| 449 | func (server *HttpServer) SetEnabledGzip(isEnabled bool) { |
| 450 | server.ServerConfig().EnabledGzip = isEnabled |
| 451 | server.Logger().Debug("DotWeb:HttpServer SetEnabledGzip ["+strconv.FormatBool(isEnabled)+"]", LogTarget_HttpServer) |
| 452 | } |
| 453 | |
| 454 | // SetEnabledBindUseJsonTag set whethr to enable json tab on Bind, default is false |
| 455 | func (server *HttpServer) SetEnabledBindUseJsonTag(isEnabled bool) { |
nothing calls this directly
no test coverage detected