Skip to content

Commit

Permalink
Meta: export obtain a WebSocket connection
Browse files Browse the repository at this point in the history
Also fix a URL reference.
  • Loading branch information
annevk authored Oct 25, 2022
1 parent 78660ff commit e589bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ through a custom server.</p>

<div algorithm>

To <dfn id=concept-websocket-connection-obtain>obtain a WebSocket connection</dfn>, given a
To <dfn export id=concept-websocket-connection-obtain>obtain a WebSocket connection</dfn>, given a
|url|, run these steps:

1. Let |host| be |url|'s <a for=url>host</a>.
Expand Down Expand Up @@ -260,7 +260,7 @@ It can have the following values:
:: Creates a new {{WebSocket}} object, immediately establishing the associated WebSocket
connection.

|url| is a string giving the <a dfn spec=url>URL</a> over which the connection is established.
|url| is a string giving the <a for=/>URL</a> over which the connection is established.
Only "`ws`" or "`wss`" schemes are allowed; others will cause a "{{SyntaxError}}"
{{DOMException}}. URLs with [=fragments=] will also cause such an exception.

Expand Down

0 comments on commit e589bf2

Please sign in to comment.