Page Contents
http-server package
HTTP / HTTPS server endpoints for LoopBack 4 apps.
Remarks
A package used by LoopBack 4 for creating HTTP / HTTPS server.
Classes
| Class | Description |
|---|---|
| [HttpServer](/doc/en/lb4/apidocs.http-server.httpserver.html) | HTTP / HTTPS server used by LoopBack's RestServer |
Interfaces
| Interface | Description |
|---|---|
| [BaseHttpOptions](/doc/en/lb4/apidocs.http-server.basehttpoptions.html) | Base options that are common to http and https servers |
| [HttpOptions](/doc/en/lb4/apidocs.http-server.httpoptions.html) | HTTP server options |
| [HttpsOptions](/doc/en/lb4/apidocs.http-server.httpsoptions.html) | HTTPS server options |
Type Aliases
| Type Alias | Description |
|---|---|
| [HttpProtocol](/doc/en/lb4/apidocs.http-server.httpprotocol.html) | Supported protocols |
| [HttpServerOptions](/doc/en/lb4/apidocs.http-server.httpserveroptions.html) | Possible server options |
| [HttpServerProperties](/doc/en/lb4/apidocs.http-server.httpserverproperties.html) | The following are for configuring properties which are directly set on https://nodejs.org/api/http.html\#http\_class\_http\_server and https://nodejs.org/api/net.html\#net\_class\_net\_server |
| [RequestListener](/doc/en/lb4/apidocs.http-server.requestlistener.html) | Request listener function for http/https requests |