network.js

"use strict";
/***************************************************
* Licensed Materials - Property of HCL.
* (c)Copyright HCL America, Inc. 2023-2024
****************************************************/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPortsList = exports.certificate = exports.setHTTPHeader = exports.getHTTPHeader = exports._notes = void 0;
const tslib_1 = require("tslib");
/**
 * @file Network
 * @module network
 * @category Network
 */
const notesf = tslib_1.__importStar(require("../notes/network"));
exports._notes = notesf;
/**
 * In a Web application, returns the value of an HTTP header from the browser
 * client request being processed by the server.
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function getHTTPHeader() {
    return notesf.GetHTTPHeader();
}
exports.getHTTPHeader = getHTTPHeader;
/**
 * In a Web application, sets the value of HTTP headers in the response being
 * generated by the server for the browser client.
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function setHTTPHeader() {
    return notesf.SetHTTPHeader();
}
exports.setHTTPHeader = setHTTPHeader;
/**
 * Extracts information from the Certified Public Key in the Domino® Directory.
 * @throws {Error} no plans to implement
 */
function certificate() {
    return notesf.Certificate();
}
exports.certificate = certificate;
/**
 * Returns a list of enabled or disabled ports.
 * @throws {Error} no plans to implement
 */
function getPortsList() {
    return notesf.GetPortsList();
}
exports.getPortsList = getPortsList;
//# sourceMappingURL=network.js.map