Skip to content

Commit ce834f0

Browse files
committed
fix readme; closes #33
1 parent f3be7f2 commit ce834f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222

2323
Sockette is a tiny (369 bytes) wrapper around `WebSocket` that will automatically reconnect if the connection is lost!
2424

25-
Upon creation, the `WebSocket` is returned directly, exposing the native `close` and `send` methods.
26-
2725
In addition to attaching [additional API methods](#api), Sockette allows you to **reuse** instances, avoiding the need to redeclare all event listeners.
2826

27+
You have direct access to the (current) underlying `WebSocket` within every `EventListener` callback (via `event.target`).
28+
2929

3030
## Install
3131

0 commit comments

Comments
 (0)