$39 GRAYBYTE WORDPRESS FILE MANAGER $17

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib/node_modules/npm/node_modules/uri-js/dist/esnext/schemes/

HOME
Current File : /usr/lib/node_modules/npm/node_modules/uri-js/dist/esnext/schemes//ws.js
function isSecure(wsComponents) {
    return typeof wsComponents.secure === 'boolean' ? wsComponents.secure : String(wsComponents.scheme).toLowerCase() === "wss";
}
//RFC 6455
const handler = {
    scheme: "ws",
    domainHost: true,
    parse: function (components, options) {
        const wsComponents = components;
        //indicate if the secure flag is set
        wsComponents.secure = isSecure(wsComponents);
        //construct resouce name
        wsComponents.resourceName = (wsComponents.path || '/') + (wsComponents.query ? '?' + wsComponents.query : '');
        wsComponents.path = undefined;
        wsComponents.query = undefined;
        return wsComponents;
    },
    serialize: function (wsComponents, options) {
        //normalize the default port
        if (wsComponents.port === (isSecure(wsComponents) ? 443 : 80) || wsComponents.port === "") {
            wsComponents.port = undefined;
        }
        //ensure scheme matches secure flag
        if (typeof wsComponents.secure === 'boolean') {
            wsComponents.scheme = (wsComponents.secure ? 'wss' : 'ws');
            wsComponents.secure = undefined;
        }
        //reconstruct path from resource name
        if (wsComponents.resourceName) {
            const [path, query] = wsComponents.resourceName.split('?');
            wsComponents.path = (path && path !== '/' ? path : undefined);
            wsComponents.query = query;
            wsComponents.resourceName = undefined;
        }
        //forbid fragment component
        wsComponents.fragment = undefined;
        return wsComponents;
    }
};
export default handler;
//# sourceMappingURL=ws.js.map

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
31 Aug 2024 8.02 AM
root / root
0755
http.d.ts
0.105 KB
10 Mar 2021 9.36 PM
root / root
0644
http.js
0.937 KB
10 Mar 2021 9.36 PM
root / root
0644
http.js.map
0.821 KB
10 Mar 2021 9.36 PM
root / root
0644
https.d.ts
0.105 KB
10 Mar 2021 9.36 PM
root / root
0644
https.js
0.207 KB
10 Mar 2021 9.36 PM
root / root
0644
https.js.map
0.305 KB
10 Mar 2021 9.36 PM
root / root
0644
mailto.d.ts
0.351 KB
10 Mar 2021 9.36 PM
root / root
0644
mailto.js
7.564 KB
10 Mar 2021 9.36 PM
root / root
0644
mailto.js.map
7.04 KB
10 Mar 2021 9.36 PM
root / root
0644
urn-uuid.d.ts
0.272 KB
10 Mar 2021 9.36 PM
root / root
0644
urn-uuid.js
0.848 KB
10 Mar 2021 9.36 PM
root / root
0644
urn-uuid.js.map
0.813 KB
10 Mar 2021 9.36 PM
root / root
0644
urn.d.ts
0.316 KB
10 Mar 2021 9.36 PM
root / root
0644
urn.js
2.002 KB
10 Mar 2021 9.36 PM
root / root
0644
urn.js.map
1.894 KB
10 Mar 2021 9.36 PM
root / root
0644
ws.d.ts
0.223 KB
10 Mar 2021 9.36 PM
root / root
0644
ws.js
1.62 KB
10 Mar 2021 9.36 PM
root / root
0644
ws.js.map
1.572 KB
10 Mar 2021 9.36 PM
root / root
0644
wss.d.ts
0.105 KB
10 Mar 2021 9.36 PM
root / root
0644
wss.js
0.193 KB
10 Mar 2021 9.36 PM
root / root
0644
wss.js.map
0.3 KB
10 Mar 2021 9.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF