【文件属性】:
文件名称:debug-http:在Node.js中调试HTTPHTTPS请求
文件大小:6KB
文件格式:ZIP
更新时间:2021-04-29 03:49:34
JavaScript
调试http
在Node.js中调试HTTP / HTTPS请求
安装
$ npm install --save debug-http
用法
const debugHttp = require ( 'debug-http' ) ;
debugHttp ( ) ;
const http = require ( 'http' ) ;
http . get ( 'http://google.com' ) ;
原料药
debugHttp([fn])
n
类型: Function
请求处理程序。 默认情况下,在控制台中输出请求。
执照
麻省理工学院:copyright:
【文件预览】:
debug-http-master
----.gitattributes(12B)
----license(1KB)
----.travis.yml(51B)
----test()
--------http.js(648B)
--------https.js(1KB)
--------helpers()
--------fn.js(418B)
----.editorconfig(231B)
----.gitignore(13B)
----index.js(2KB)
----readme.md(682B)
----package.json(870B)