node-libcurl
Version:
The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl
23 lines (22 loc) • 597 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/eab2f95c0de94e9816c8a6110d20673761dd97a4/include/curl/multi.h#L426-L435
/**
* Object with constants to be used as the return value for the {@link "Multi".Multi.setOpt | `Multi`} option `PUSHFUNCTION`.
*
* `CURL_PUSH_OK` becomes `CurlPush.Ok`
*
* @public
*/
export enum CurlPush {
Ok = 0,
Deny = 1,
/**
* Added in 7.72.0
*/
ErrorOut = 2,
}