node-libcurl
Version:
The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl
23 lines • 859 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CurlPreReqFunc = void 0;
/**
* Copyright (c) Jonathan Cardoso Machado. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// https://github.com/curl/curl/blob/e1be8254534898fccafc5d6cd04f6235f283cfbd/include/curl/curl.h#L342
/**
* Object to be used as the return value for the callback set with the option `PREREQFUNCTION`
*
* `CURL_PREREQFUNC_OK` becomes `CurlPreReqFunc.Ok`
*
* @public
*/
var CurlPreReqFunc;
(function (CurlPreReqFunc) {
CurlPreReqFunc[CurlPreReqFunc["Ok"] = 0] = "Ok";
CurlPreReqFunc[CurlPreReqFunc["Abort"] = 1] = "Abort";
})(CurlPreReqFunc || (exports.CurlPreReqFunc = CurlPreReqFunc = {}));
//# sourceMappingURL=CurlPreReqFunc.js.map