FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node/lib/https.js at https · reado/node · GitHub
reado
node
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
node
/
lib
/
https.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (15 loc) · 515 Bytes
Breadcrumbs
node
/
lib
/
https.js
Copy path
File metadata and controls
22 lines (15 loc) · 515 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
var
tls
=
require
(
'tls'
)
;
var
http
=
require
(
'http'
)
;
var
inherits
=
require
(
'util'
)
.
inherits
;
function
Server
(
opts
,
requestListener
)
{
if
(
!
(
this
instanceof
Server
)
)
return
new
Server
(
opts
,
requestListener
)
;
tls
.
Server
.
call
(
this
,
opts
,
http
.
_connectionListener
)
;
if
(
requestListener
)
{
this
.
addListener
(
'request'
,
requestListener
)
;
}
}
inherits
(
Server
,
tls
.
Server
)
;
exports
.
Server
=
Server
;
exports
.
createServer
=
function
(
opts
,
requestListener
)
{
return
new
Server
(
opts
,
requestListener
)
;
}
;
Back
|
FazBrowse Home
|
New Git URL