UNPKG

node-libcurl

Version:

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

30 lines 749 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. */ /** * Object with constants for option bits for `CURLOPT_FOLLOWLOCATION` * * `CURLFOLLOW_ALL` becomes `CurlFollow.All` * * @public */ export declare enum CurlFollow { /** * Generic follow redirects */ All = 1, /** * Do not use the custom method in the follow-up request if the HTTP code * instructs so (301, 302, 303). */ ObeyCode = 2, /** * Only use the custom method in the first request, * always reset in the next. */ FirstOnly = 3 } //# sourceMappingURL=CurlFollow.d.ts.map