Optional ReadonlyauthenticatorsAuthenticators for handling request authentication.
Optional ReadonlycopyWhether to set the Access-Control-Allow-Origin response header to copy the Origin request header.
If enabled and the client does not set Origin, the header will be set to *.
Will also enable setting Vary: Origin.
Optional ReadonlyglobalHeaders to send with every response.
Optional ReadonlyhandleAutomatically handle conditional requests for GET and HEAD requests that result in a 200 status code.
If-Range headers are ignored.
Optional ReadonlyportThe HTTP listener port. From 1 to 65535. Ports 1–1023 require privileges. If not set, Server#listen|Server.listen() must be called manually.
Optional ReadonlytrustedThe network of trusted proxies. If specified, headers such as Forwarded, X-Forwarded-For, and X-Real-IP
will be trusted and automatically processed.
Server options