Update README.
This commit is contained in:
parent
286b62cc2e
commit
44fb876123
2 changed files with 3 additions and 1 deletions
|
@ -115,6 +115,7 @@ Methods:
|
|||
Curl setopt(optionName, optionValue)
|
||||
Curl perform()
|
||||
Curl on(eventType, callback)
|
||||
Mixed getinfo(infoName)
|
||||
|
||||
Events:
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@ curl.on('error', function(e) {
|
|||
|
||||
|
||||
curl.on('end', function() {
|
||||
p('done.')
|
||||
p('done.');
|
||||
p('code: ' + curl.getinfo('RESPONSE_CODE'));
|
||||
curl.close();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue