aws-crt
Version:
NodeJS bindings to the aws-c-* libraries
37 lines • 1.61 kB
JavaScript
;
/*
* Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
var TlsVersion;
(function (TlsVersion) {
TlsVersion[TlsVersion["SSLv3"] = 0] = "SSLv3";
TlsVersion[TlsVersion["TLSv1"] = 1] = "TLSv1";
TlsVersion[TlsVersion["TLSv1_1"] = 2] = "TLSv1_1";
TlsVersion[TlsVersion["TLSv1_2"] = 3] = "TLSv1_2";
TlsVersion[TlsVersion["TLSv1_3"] = 4] = "TLSv1_3";
TlsVersion[TlsVersion["Default"] = 128] = "Default";
})(TlsVersion = exports.TlsVersion || (exports.TlsVersion = {}));
var SocketType;
(function (SocketType) {
SocketType[SocketType["STREAM"] = 0] = "STREAM";
SocketType[SocketType["DGRAM"] = 1] = "DGRAM";
})(SocketType = exports.SocketType || (exports.SocketType = {}));
var SocketDomain;
(function (SocketDomain) {
SocketDomain[SocketDomain["IPV4"] = 0] = "IPV4";
SocketDomain[SocketDomain["IPV6"] = 1] = "IPV6";
SocketDomain[SocketDomain["LOCAL"] = 2] = "LOCAL";
})(SocketDomain = exports.SocketDomain || (exports.SocketDomain = {}));
//# sourceMappingURL=io.js.map