UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

34 lines 1.17 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HttpSettingsSSL = void 0; const index_1 = require("./../index"); class HttpSettingsSSL { constructor(data) { this.ciphers = index_1.CiphersHttpSettingsSSL.fromJson(data === null || data === void 0 ? void 0 : data.ciphers); this.protocols = index_1.ProtocolsHttpSettingsSSL.fromJson(data === null || data === void 0 ? void 0 : data.protocols); } static getCiphersDescription() { return ""; } static getProtocolsDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new HttpSettingsSSL(data); } toJson() { var _a, _b; return { 'ciphers': (_a = this.ciphers) === null || _a === void 0 ? void 0 : _a.toJson(), 'protocols': (_b = this.protocols) === null || _b === void 0 ? void 0 : _b.toJson(), }; } clone() { return HttpSettingsSSL.fromJson(this.toJson()); } } exports.HttpSettingsSSL = HttpSettingsSSL; //# sourceMappingURL=HttpSettingsSSL.js.map