Search
Preparing search index...
The search index is not available
@kauai/compression
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@kauai/compression
Compression
Class Compression
Hierarchy
Middleware
Compression
Index
Constructors
constructor
Properties
#format
disabled
ignore_
errors
Accessors
format
Methods
run
#get
Format
Constructors
constructor
new
Compression
(
__namedParameters
?:
ICompressionOptions
)
:
Compression
Parameters
__namedParameters:
ICompressionOptions
= {}
Returns
Compression
Properties
Private
Readonly
#format
#format
:
IComressFormats
disabled
disabled
:
boolean
ignore_
errors
ignore_
errors
:
boolean
Accessors
format
get
format
(
)
:
IComressFormats
Returns
IComressFormats
Methods
run
run
(
context
:
Context
)
:
Context
Parameters
context:
Context
Returns
Context
Static
Private
#get
Format
#get
Format
(
context
:
Context
, format
:
IComressFormats
)
:
"br"
|
"gzip"
|
"x-gzip"
|
"deflate"
|
"identity"
Parameters
context:
Context
format:
IComressFormats
Returns
"br"
|
"gzip"
|
"x-gzip"
|
"deflate"
|
"identity"
Exports
Compression
constructor
#format
disabled
ignore_
errors
format
run
#get
Format