From e1acfffaf8a6d67d237e345627ecdb9c98215ff8 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Thu, 25 Apr 2019 15:56:59 -0700 Subject: [PATCH] docs: remove outdated refs to protocol.registerStandardSchemes (#17959) --- docs/api/protocol.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/api/protocol.md b/docs/api/protocol.md index 8f6af20336..12073ca810 100644 --- a/docs/api/protocol.md +++ b/docs/api/protocol.md @@ -54,7 +54,6 @@ app.on('ready', () => { }) }) ``` -Using `protocol.registerStandardSchemes` without the session will still register your custom protocol as a standard scheme. ## Methods @@ -158,9 +157,7 @@ specified. For the available error numbers you can use, please see the [net error list][net-error]. By default the `scheme` is treated like `http:`, which is parsed differently -than protocols that follow the "generic URI syntax" like `file:`, so you -probably want to call `protocol.registerStandardSchemes` to have your scheme -treated as a standard scheme. +than protocols that follow the "generic URI syntax" like `file:`. ### `protocol.registerBufferProtocol(scheme, handler[, completion])`