node-libcurl
Version:
The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl
21 lines (20 loc) • 517 B
text/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.
*/
// https://github.com/curl/curl/blob/e1be825453/include/curl/curl.h#L880
/**
* Object with bitmasks to be used with `HEADEROPT`.
*
* Available since libcurl version \>= 7.37.0
*
* `CURLHEADER_UNIFIED` becomes `CurlHeader.Unified`
*
* @public
*/
export enum CurlHeader {
Unified = 0,
Separate = 1 << 0,
}