This feature allows to avoid spinning up HTTP server when only HTTPS one is needed.
It should enable best practices in the establishing secure communication channel.
Changes to ServerConfig type:
server prop renamed to http
nested props jsonParser, upload, compression, rawParser and beforeRouting moved to the top level
all that included into the automated migration (ESLint rule) for v21
coverage: 100.0%. remained the same
when pulling 1c47da83a0826446456ec3d03b00756b5a2c2c37 on optional-http-server
into 4c54b452fafb170b0591e604ca4abd31556ca9df on make-v21.
This feature allows to avoid spinning up HTTP server when only HTTPS one is needed. It should enable best practices in the establishing secure communication channel.
Changes to
ServerConfig
type:server
prop renamed tohttp
jsonParser
,upload
,compression
,rawParser
andbeforeRouting
moved to the top level