Comments (4)
Hi @sintaxi, I'm really sorry I did not see your issue here (apparently I was not subscribed to notifications on this repository). So some of them are just slimmed down versions already available in npm
modules, and I'd be happy to point around if that's the case.
Which particular functions were you looking to export?
from vhost.
I hope it's OK, but I'm going to close this issue, since I'm not sure which functions you are looking to export.
from vhost.
I think the private functions he's talking about are the following:
- hostnameof
- hostregexp
- vhostof
They would be helpful for use in other parts of of an app to predict what "vhost" will be used.
from vhost.
@dougwilson
Is there any word on exposing them?
My usecase.. Playground
.on('upgrade', (req, socket, head) => {
for (const proxy of proxies) {
if (!proxy.test(req)) continue;
return proxy.ws(req, socket, head);
}
socket.destroy();
})
from vhost.
Related Issues (16)
- vhost for other web frameworks. HOT 6
- vhost routes never get hit when ports are mentioned. HOT 15
- Subdomains in localhost HOT 1
- Removing vhosts HOT 7
- Using express vhost behind a reverse proxy HOT 3
- vhost on Firebase Functions HOT 1
- each vhost https support HOT 2
- vhost for multiple domain HOT 2
- Same target vhost but different callback HOT 1
- Issues with SEO HOT 6
- req.vhost is undefined HOT 6
- How to have *.domain.com and domain.com work together? HOT 2
- Stop test server HOT 2
- HTTPS Server HOT 1
- Vhost's ending in wildcard do not match. Version 3.0.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vhost.