-
Notifications
You must be signed in to change notification settings - Fork 2
Interface.HonoCompressOptions
hono-compress / HonoCompressOptions
Defined in: types.ts:102
| Property | Type | Description | Defined in |
|---|---|---|---|
|
|
Algorithm to be used to compress the response content |
||
|
( |
List of algorithms allowed to be used to compress the response content |
||
|
|
Algorithm to be used as fallback to compress the response content if no accept-encoding header is provided by the client |
||
|
|
Forces content compression even if the response content-type cannot be determined and the cache-control is set to no-transform |
||
|
|
Disables response content compression if request header x-no-compression has been provided by the client |
||
|
|
Enables to always streaming compressed response content |
||
|
|
Allows Bun compressor to be used |
||
|
|
Allows Node compressor to be used |
||
|
|
The minimum size in bytes for a response content to be compressed |
||
|
Zstandard algorithm compression level |
|||
|
Zstandard algorithm compression options |
|||
|
Brotli algorithm compression level |
|||
|
|
Brotli algorithm compression options |
||
|
Gzip algorithm compression level |
|||
|
Gzip algorithm compression options |
|||
|
Deflate algorithm compression level |
|||
|
Deflate algorithm compression options |
|||
|
Custom override filtering function |