UNPKG
got-cjs
Version:
latest (12.5.4)
next (12.0.4)
12.5.4
12.5.3
12.5.2
12.3.1
12.0.4
12.0.1
12.0.0
12.0.0-beta.4
12.0.0-beta.3
12.0.0-beta.2
0.0.2
0.0.1
Human-friendly and powerful HTTP request library for Node.js
github.com/apify/got-cjs
apify/got-cjs
got-cjs
/
dist
/
source
/
core
/
utils
/
is-client-request.js
7 lines
(6 loc)
•
223 B
JavaScript
View Raw
1
2
3
4
5
6
7
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
function
isClientRequest
(
clientRequest
) {
return
clientRequest.
writable
&& !clientRequest.
writableEnded
; }
exports
.
default
= isClientRequest;