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.
2 parents 0513584 + 0dc4cbf commit 5397427Copy full SHA for 5397427
README.md
@@ -173,7 +173,7 @@ import { newWebSocketRpcSession } from "capnweb";
173
// feature, part of the "explicit resource management" spec. Alternatively,
174
// we could declare `api` with `let` or `const` and make sure to call
175
// `api[Symbol.dispose]()` to dispose it and close the connection later.
176
-using api = newWebSocketRpcSession<PublicApi>("https://example.com/api");
+using api = newWebSocketRpcSession<PublicApi>("wss://example.com/api");
177
178
// Usage is exactly the same, except we don't have to await all the promises
179
// at once.
0 commit comments