Skip to content

Commit 5397427

Browse files
authored
Merge pull request #49 from fukouda/main
docs: fix typo
2 parents 0513584 + 0dc4cbf commit 5397427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ import { newWebSocketRpcSession } from "capnweb";
173173
// feature, part of the "explicit resource management" spec. Alternatively,
174174
// we could declare `api` with `let` or `const` and make sure to call
175175
// `api[Symbol.dispose]()` to dispose it and close the connection later.
176-
using api = newWebSocketRpcSession<PublicApi>("https://example.com/api");
176+
using api = newWebSocketRpcSession<PublicApi>("wss://example.com/api");
177177

178178
// Usage is exactly the same, except we don't have to await all the promises
179179
// at once.

0 commit comments

Comments
 (0)