UNPKG

node-libcurl

Version:

The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl

41 lines 1.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CurlUploadFlag = 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/e1be82545348/include/curl/curl.h#L2058 /** * Object with constants for option `UPLOAD_FLAGS` * * `CURLULFLAG_ANSWERED` becomes `CurlUploadFlag.Answered` * * @public */ var CurlUploadFlag; (function (CurlUploadFlag) { /** * Sets the Answered flag for IMAP uploads */ CurlUploadFlag[CurlUploadFlag["Answered"] = 1] = "Answered"; /** * Sets the Deleted flag for IMAP uploads */ CurlUploadFlag[CurlUploadFlag["Deleted"] = 2] = "Deleted"; /** * Sets the Draft flag for IMAP uploads */ CurlUploadFlag[CurlUploadFlag["Draft"] = 4] = "Draft"; /** * Sets the Flagged flag for IMAP uploads */ CurlUploadFlag[CurlUploadFlag["Flagged"] = 8] = "Flagged"; /** * Sets the Seen flag for IMAP uploads */ CurlUploadFlag[CurlUploadFlag["Seen"] = 16] = "Seen"; })(CurlUploadFlag || (exports.CurlUploadFlag = CurlUploadFlag = {})); //# sourceMappingURL=CurlUploadFlag.js.map