@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
46 lines (31 loc) • 1.67 kB
Markdown
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) > [@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
| Class | Description |
| --- | --- |
| [HttpServer](./http-server.httpserver.md) | HTTP / HTTPS server used by LoopBack's RestServer |
## Interfaces
| Interface | Description |
| --- | --- |
| [BaseHttpOptions](./http-server.basehttpoptions.md) | Base options that are common to http and https servers |
| [HttpOptions](./http-server.httpoptions.md) | HTTP server options |
| [HttpsOptions](./http-server.httpsoptions.md) | HTTPS server options |
## Type Aliases
| Type Alias | Description |
| --- | --- |
| [HttpProtocol](./http-server.httpprotocol.md) | Supported protocols |
| [HttpServerOptions](./http-server.httpserveroptions.md) | Possible server options |
| [HttpServerProperties](./http-server.httpserverproperties.md) | 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](./http-server.requestlistener.md) | Request listener function for http/https requests |