node-libcurl
Version:
The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl
26 lines • 739 B
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.
*/
/**
* To be used with the `NETRC` option
*
* `CURLMNC_CLEAR_CONNS` becomes `CurlMultiNetworkChanged.ClearConns`
*
* @public
*/
export declare enum CurlMultiNetworkChanged {
/**
* Tells libcurl to prevent further reuse of existing connections.
* Connections that are idle will be closed. Ongoing transfers
* will continue with the connection they have.
*/
ClearConns = 1,
/**
* Tells libcurl to clear the DNS cache.
*/
ClearDns = 1
}
//# sourceMappingURL=CurlMultiNetworkChanged.d.ts.map