![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@loopback/http-server
Advanced tools
This package implements the HTTP / HTTPS server endpoint for LoopBack 4 apps.
This is an internal package used by LoopBack 4 for creating HTTP / HTTPS server.
To use this package, you'll need to install @loopback/http-server
.
npm i @loopback/http-server
@loopback/http-server
should be instantiated with a request handler function,
and an HTTP / HTTPS options object.
const httpServer = new HttpServer(
(req, res) => {
res.end('Hello world');
},
{port: 3000, host: ''},
);
Instance methods of HttpServer
.
Method | Description |
---|---|
start() | Starts the server |
stop() | Stops the server |
Instance properties of HttpServer
.
Property | Description |
---|---|
address | Address details |
host | host of the server |
port | port of the server |
protocol | protocol of the server |
url | url the server |
Run npm test
from the root folder.
See all contributors.
MIT
FAQs
A wrapper for creating HTTP/HTTPS servers
The npm package @loopback/http-server receives a total of 16,545 weekly downloads. As such, @loopback/http-server popularity was classified as popular.
We found that @loopback/http-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.