PHP 7.4.33
Preview: proxy-events.js Size: 149 B
/usr/share/nodejs/http2-wrapper/source/utils/proxy-events.js
'use strict';

module.exports = (from, to, events) => {
	for (const event of events) {
		from.on(event, (...args) => to.emit(event, ...args));
	}
};

Directory Contents

Dirs: 0 × Files: 10
Name Size Perms Modified Actions
449 B lrw-r--r-- 2021-11-20 15:22:42
Edit Download
473 B lrw-r--r-- 2021-11-20 15:22:42
Edit Download
652 B lrw-r--r-- 2021-11-20 15:22:42
Edit Download
1.45 KB lrw-r--r-- 2021-11-20 15:22:42
Edit Download
186 B lrw-r--r-- 2021-11-20 15:22:42
Edit Download
237 B lrw-r--r-- 2021-11-20 15:22:42
Edit Download
149 B lrw-r--r-- 2021-11-20 15:22:42
Edit Download
2.33 KB lrw-r--r-- 2021-11-20 15:22:42
Edit Download
385 B lrw-r--r-- 2021-11-20 15:22:42
Edit Download
400 B lrw-r--r-- 2021-11-20 15:22:42
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).