X Tutup
Skip to content

Commit 9717dff

Browse files
authored
docs: link ProtocolRequest doc (electron#25761)
1 parent bbdca48 commit 9717dff

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/api/protocol.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ expect streaming responses.
112112

113113
* `scheme` String
114114
* `handler` Function
115-
* `request` ProtocolRequest
115+
* `request` [ProtocolRequest](structures/protocol-request.md)
116116
* `callback` Function
117117
* `response` (String | [ProtocolResponse](structures/protocol-response.md))
118118

@@ -133,7 +133,7 @@ from protocols that follow the "generic URI syntax" like `file:`.
133133

134134
* `scheme` String
135135
* `handler` Function
136-
* `request` ProtocolRequest
136+
* `request` [ProtocolRequest](structures/protocol-request.md)
137137
* `callback` Function
138138
* `response` (Buffer | [ProtocolResponse](structures/protocol-response.md))
139139

@@ -157,7 +157,7 @@ protocol.registerBufferProtocol('atom', (request, callback) => {
157157

158158
* `scheme` String
159159
* `handler` Function
160-
* `request` ProtocolRequest
160+
* `request` [ProtocolRequest](structures/protocol-request.md)
161161
* `callback` Function
162162
* `response` (String | [ProtocolResponse](structures/protocol-response.md))
163163

@@ -173,7 +173,7 @@ property.
173173

174174
* `scheme` String
175175
* `handler` Function
176-
* `request` ProtocolRequest
176+
* `request` [ProtocolRequest](structures/protocol-request.md)
177177
* `callback` Function
178178
* `response` ProtocolResponse
179179

@@ -188,7 +188,7 @@ should be called with an object that has the `url` property.
188188

189189
* `scheme` String
190190
* `handler` Function
191-
* `request` ProtocolRequest
191+
* `request` [ProtocolRequest](structures/protocol-request.md)
192192
* `callback` Function
193193
* `response` (ReadableStream | [ProtocolResponse](structures/protocol-response.md))
194194

@@ -251,7 +251,7 @@ Returns `Boolean` - Whether `scheme` is already registered.
251251

252252
* `scheme` String
253253
* `handler` Function
254-
* `request` ProtocolRequest
254+
* `request` [ProtocolRequest](structures/protocol-request.md)
255255
* `callback` Function
256256
* `response` (String | [ProtocolResponse](structures/protocol-response.md))
257257

@@ -264,7 +264,7 @@ which sends a file as a response.
264264

265265
* `scheme` String
266266
* `handler` Function
267-
* `request` ProtocolRequest
267+
* `request` [ProtocolRequest](structures/protocol-request.md)
268268
* `callback` Function
269269
* `response` (String | [ProtocolResponse](structures/protocol-response.md))
270270

@@ -277,7 +277,7 @@ which sends a `String` as a response.
277277

278278
* `scheme` String
279279
* `handler` Function
280-
* `request` ProtocolRequest
280+
* `request` [ProtocolRequest](structures/protocol-request.md)
281281
* `callback` Function
282282
* `response` (Buffer | [ProtocolResponse](structures/protocol-response.md))
283283

@@ -290,7 +290,7 @@ which sends a `Buffer` as a response.
290290

291291
* `scheme` String
292292
* `handler` Function
293-
* `request` ProtocolRequest
293+
* `request` [ProtocolRequest](structures/protocol-request.md)
294294
* `callback` Function
295295
* `response` [ProtocolResponse](structures/protocol-response.md)
296296

@@ -303,7 +303,7 @@ which sends a new HTTP request as a response.
303303

304304
* `scheme` String
305305
* `handler` Function
306-
* `request` ProtocolRequest
306+
* `request` [ProtocolRequest](structures/protocol-request.md)
307307
* `callback` Function
308308
* `response` (ReadableStream | [ProtocolResponse](structures/protocol-response.md))
309309

0 commit comments

Comments
 (0)
X Tutup