Skip to content

Commit b795c84

Browse files
committed
Clean up some numbering
1 parent 9c63cfa commit b795c84

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -459,21 +459,21 @@ accept the incoming connection:
459459
running these steps and act as if the requested service is not
460460
available.
461461

462-
2. [=Get a session ID for a WebSocket resource=] with |resource name|
462+
1. [=Get a session ID for a WebSocket resource=] with |resource name|
463463
and let |session id| be that value. If |session id| is null then
464464
stop running these steps and act as if the requested service is not
465465
available.
466466

467-
3. If there is a [=/session=] in the list of [=active sessions=] with
467+
1. If there is a [=/session=] in the list of [=active sessions=] with
468468
|session id| as its [=session ID=] then let |session| be that
469469
session. Otherwise stop running these steps and act as if the
470470
requested service is not available.
471471

472-
4. Run any other implementation-defined steps to decide if the
472+
1. Run any other implementation-defined steps to decide if the
473473
connection should be accepted, and if it is not stop running these
474474
steps and act as if the requested service is not available.
475475

476-
5. Otherwise set |session|'s [=WebSocket connection=] to
476+
1. Otherwise set |session|'s [=WebSocket connection=] to
477477
|connection|, and proceed with the WebSocket [=server-side
478478
requirements=] when a server chooses to accept an incoming connection.
479479

@@ -551,16 +551,16 @@ To <dfn>start listening for a WebSocket connection</dfn> given a
551551
[=listener/host=], [=listener/port=], [=listener/secure flag=],
552552
and an empty [=list of WebSocket resources=].
553553

554-
2. Let |resource name| be the result of [=constructing a WebSocket
554+
1. Let |resource name| be the result of [=constructing a WebSocket
555555
resource name=] given |session|.
556556

557-
3. Append |resource name| to the [=list of WebSocket resources=] for
557+
1. Append |resource name| to the [=list of WebSocket resources=] for
558558
|listener|.
559559

560-
4. [=set/Append=] |listener| to the [=remote end=]'s [=active
560+
1. [=set/Append=] |listener| to the [=remote end=]'s [=active
561561
listeners=].
562562

563-
5. Return |listener|.
563+
1. Return |listener|.
564564

565565
</div>
566566

0 commit comments

Comments
 (0)