node-libcurl
Version:
The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl
37 lines • 1.1 kB
TypeScript
/**
* 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.
*/
/**
* Flags to be used with {@link "Curl".Curl.enable | `Curl#enable`} and {@link "Curl".Curl.disable | `Curl#disable`}
* @public
*/
export declare enum CurlFeature {
/**
* Data received is passed as a Buffer to the end event.
*/
NoDataParsing = 1,
/**
* Header received is not parsed, it's passed as a Buffer to the end event.
*/
NoHeaderParsing = 2,
/**
* Same than `NoDataParsing | NoHeaderParsing`
*/
Raw = 3,
/**
* Data received is not stored inside this handle, implies `NoDataParsing`.
*/
NoDataStorage = 4,
/**
* Header received is not stored inside this handle, implies `NoHeaderParsing`.
*/
NoHeaderStorage = 8,
/**
* Same than `NoDataStorage | NoHeaderStorage`, implies `Raw`.
*/
NoStorage = 12
}
//# sourceMappingURL=CurlFeature.d.ts.map