We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a8d3b commit 1791500Copy full SHA for 1791500
lib/http.js
@@ -15,18 +15,18 @@ exports.STATUS_CODES = server.STATUS_CODES;
15
exports._connectionListener = server._connectionListener;
16
const Server = exports.Server = server.Server;
17
18
-exports.createServer = function(requestListener) {
+exports.createServer = function createServer(requestListener) {
19
return new Server(requestListener);
20
};
21
22
const client = require('_http_client');
23
const ClientRequest = exports.ClientRequest = client.ClientRequest;
24
25
-exports.request = function(options, cb) {
+exports.request = function request(options, cb) {
26
return new ClientRequest(options, cb);
27
28
29
-exports.get = function(options, cb) {
+exports.get = function get(options, cb) {
30
var req = exports.request(options, cb);
31
req.end();
32
return req;
0 commit comments