aswi2020vldc-gitlab/templetes/node_modules/https-browserify/readme.markdown @ 143404cb
1 | 3a515b92 | cagy | # https-browserify
|
---|---|---|---|
2 | |||
3 | https module compatability for browserify |
||
4 | |||
5 | # example
|
||
6 | |||
7 | ``` js |
||
8 | var https = require('https-browserify') |
||
9 | var r = https.request('https://github.com') |
||
10 | r.on('request', function (res) { |
||
11 | console.log(res) |
||
12 | })
|
||
13 | ```
|
||
14 | |||
15 | # methods
|
||
16 | |||
17 | The API is the same as the client portion of the |
||
18 | [node core https module](http://nodejs.org/docs/latest/api/https.html). |
||
19 | |||
20 | # license
|
||
21 | |||
22 | MIT |