![]() |
VOOZH | about |
The http.ClientRequest.writableEnded is an inbuilt application programming interface of class ClientRequest within http module which is used to check if the request.end() has been called or not.
Syntax:
const request.writableEnded
Parameters: This API does not accept any argument as parameter.
Return Value : This method returns true if and only if the request.end() has been called.
Example 1:
Output:
👁 Image