UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

156 lines (75 loc) 2.4 kB
--- lang: en title: 'API docs: http-server' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/http-server permalink: /doc/en/lb4/apidocs.http-server.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/http-server](./http-server.md) ## http-server package HTTP / HTTPS server endpoints for LoopBack 4 apps. ## Remarks A package used by LoopBack 4 for creating HTTP / HTTPS server. ## Classes <table><thead><tr><th> Class </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [HttpServer](./http-server.httpserver.md) </td><td markdown="1"> HTTP / HTTPS server used by LoopBack's RestServer </td></tr> </tbody></table> ## Interfaces <table><thead><tr><th> Interface </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [BaseHttpOptions](./http-server.basehttpoptions.md) </td><td markdown="1"> Base options that are common to http and https servers </td></tr> <tr><td markdown="1"> [HttpOptions](./http-server.httpoptions.md) </td><td markdown="1"> HTTP server options </td></tr> <tr><td markdown="1"> [HttpsOptions](./http-server.httpsoptions.md) </td><td markdown="1"> HTTPS server options </td></tr> </tbody></table> ## Type Aliases <table><thead><tr><th> Type Alias </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [HttpProtocol](./http-server.httpprotocol.md) </td><td markdown="1"> Supported protocols </td></tr> <tr><td markdown="1"> [HttpServerOptions](./http-server.httpserveroptions.md) </td><td markdown="1"> Possible server options </td></tr> <tr><td markdown="1"> [HttpServerProperties](./http-server.httpserverproperties.md) </td><td markdown="1"> 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 </td></tr> <tr><td markdown="1"> [RequestListener](./http-server.requestlistener.md) </td><td markdown="1"> Request listener function for http/https requests </td></tr> </tbody></table>