Page Contents

Home > @loopback/http-server

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 HTTP / HTTPS server used by LoopBack’s RestServer

Interfaces

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 https://nodejs.org/api/http.html#http_class_http_server and https://nodejs.org/api/net.html#net_class_net_server
RequestListener Request listener function for http/https requests