Adding net module and URLRequest class.

This commit is contained in:
ali.ibrahim 2016-09-15 15:59:40 +02:00
parent 46cd8708a4
commit e8d4abe78f
8 changed files with 203 additions and 0 deletions

13
lib/browser/api/net.js Normal file
View file

@ -0,0 +1,13 @@
'use strict'
const binding = process.atomBinding('net')
const {URLRequest} = binding
// Public API.
Object.defineProperties(exports, {
URLRequest: {
enumerable: true,
value: URLRequest
}
})