Page Contents

Home > @loopback/http-server

http-server package

HTTP / HTTPS server endpoints for LoopBack 4 apps.


A package used by LoopBack 4 for creating HTTP / HTTPS server.


Class Description
HttpServer HTTP / HTTPS server used by LoopBack’s RestServer


Interface Description
BaseHttpOptions Base options that are common to http and https servers
HttpOptions HTTP server options
HttpsOptions HTTPS server options

Type Aliases

Type Alias Description
HttpProtocol Supported protocols
HttpServerOptions Possible server options
HttpServerProperties The following are for configuring properties which are directly set on and
RequestListener Request listener function for http/https requests