7
7
HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a
8
8
separate module.
9
9
10
- ## Class: https.Agent
10
+ ## Class: ` https.Agent `
11
11
<!-- YAML
12
12
added: v0.4.5
13
13
changes:
@@ -23,7 +23,7 @@ changes:
23
23
An [ ` Agent ` ] [ ] object for HTTPS similar to [ ` http.Agent ` ] [ ] . See
24
24
[ ` https.request() ` ] [ ] for more information.
25
25
26
- ### new Agent(\ [ options\] )
26
+ ### ` new Agent([options]) `
27
27
<!-- YAML
28
28
changes:
29
29
- version: v12.5.0
@@ -45,7 +45,7 @@ changes:
45
45
46
46
See [ ` Session Resumption ` ] [ ] for information about TLS session reuse.
47
47
48
- ## Class: https.Server
48
+ ## Class: ` https.Server `
49
49
<!-- YAML
50
50
added: v0.3.4
51
51
-->
@@ -54,7 +54,7 @@ added: v0.3.4
54
54
55
55
See [ ` http.Server ` ] [ ] for more information.
56
56
57
- ### server.close(\ [ callback\] )
57
+ ### ` server.close([callback]) `
58
58
<!-- YAML
59
59
added: v0.1.90
60
60
-->
@@ -64,7 +64,7 @@ added: v0.1.90
64
64
65
65
See [ ` server.close() ` ] [ `http.close()` ] from the HTTP module for details.
66
66
67
- ### server.headersTimeout
67
+ ### ` server.headersTimeout `
68
68
<!-- YAML
69
69
added: v11.3.0
70
70
-->
@@ -73,18 +73,18 @@ added: v11.3.0
73
73
74
74
See [ ` http.Server#headersTimeout ` ] [ ] .
75
75
76
- ### server.listen()
76
+ ### ` server.listen() `
77
77
78
78
Starts the HTTPS server listening for encrypted connections.
79
79
This method is identical to [ ` server.listen() ` ] [ ] from [ ` net.Server ` ] [ ] .
80
80
81
- ### server.maxHeadersCount
81
+ ### ` server.maxHeadersCount `
82
82
83
83
* {number} ** Default:** ` 2000 `
84
84
85
85
See [ ` http.Server#maxHeadersCount ` ] [ ] .
86
86
87
- ### server.setTimeout(\ [ msecs\]\ [ , callback\] )
87
+ ### ` server.setTimeout([msecs] [, callback]) `
88
88
<!-- YAML
89
89
added: v0.11.2
90
90
-->
@@ -95,7 +95,7 @@ added: v0.11.2
95
95
96
96
See [ ` http.Server#setTimeout() ` ] [ ] .
97
97
98
- ### server.timeout
98
+ ### ` server.timeout `
99
99
<!-- YAML
100
100
added: v0.11.2
101
101
-->
@@ -104,7 +104,7 @@ added: v0.11.2
104
104
105
105
See [ ` http.Server#timeout ` ] [ ] .
106
106
107
- ### server.keepAliveTimeout
107
+ ### ` server.keepAliveTimeout `
108
108
<!-- YAML
109
109
added: v8.0.0
110
110
-->
@@ -113,7 +113,7 @@ added: v8.0.0
113
113
114
114
See [ ` http.Server#keepAliveTimeout ` ] [ ] .
115
115
116
- ## https.createServer(\ [ options\]\ [ , requestListener\] )
116
+ ## ` https.createServer([options] [, requestListener]) `
117
117
<!-- YAML
118
118
added: v0.3.4
119
119
-->
@@ -156,8 +156,8 @@ https.createServer(options, (req, res) => {
156
156
}).listen (8000 );
157
157
```
158
158
159
- ## https.get(options\ [ , callback\] )
160
- ## https.get(url\ [ , options\]\ [ , callback\] )
159
+ ## ` https.get(options[, callback]) `
160
+ ## ` https.get(url[, options] [, callback]) `
161
161
<!-- YAML
162
162
added: v0.3.6
163
163
changes:
@@ -197,15 +197,15 @@ https.get('https://encrypted.google.com/', (res) => {
197
197
});
198
198
```
199
199
200
- ## https.globalAgent
200
+ ## ` https.globalAgent `
201
201
<!-- YAML
202
202
added: v0.5.9
203
203
-->
204
204
205
205
Global instance of [ ` https.Agent ` ] [ ] for all HTTPS client requests.
206
206
207
- ## https.request(options\ [ , callback\] )
208
- ## https.request(url\ [ , options\]\ [ , callback\] )
207
+ ## ` https.request(options[, callback]) `
208
+ ## ` https.request(url[, options] [, callback]) `
209
209
<!-- YAML
210
210
added: v0.3.6
211
211
changes:
0 commit comments