UNPKG

node-libcurl

Version:

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

26 lines 768 B
/** * 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. */ /** * Special return codes for `WRITEFUNCTION` option * * `CURL_WRITEFUNC_PAUSE` becomes `CurlWriteFunc.Pause` * * @public */ export declare enum CurlWriteFunc { /** * This is a magic return code for the write callback that, when returned, * will signal libcurl to pause receiving on the current transfer. */ Pause = 268435457, /** * This is a magic return code for the write callback that, when returned, * will signal an error from the callback. */ Abort = 4294967295 } //# sourceMappingURL=CurlWriteFunc.d.ts.map