Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Mar 13, 2024
1 parent c04ef8e commit 0e24942
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions content/client-server-api/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,14 @@ return a standard error response of the form:
}
```

The `retry_after_ms` key SHOULD be included to tell the client how long
they have to wait in milliseconds before they can try again.

{{% added-in v="1.10" %}}

The `Retry-After` HTTP header SHOULD be specified by the server on any 429
code response. It SHOULD be preferred by clients, falling back to `retry_after_ms`.
The [`Retry-After`](https://www.rfc-editor.org/rfc/rfc9110#field.retry-after)
HTTP header SHOULD be specified by the server on any 429 code response.

The `retry_after_ms` key MAY be included to tell the client how long
they have to wait in milliseconds before they can try again. This field is
deprecated, in favour of the `Retry-After` header.

### Transaction identifiers

Expand Down Expand Up @@ -2543,12 +2544,6 @@ users, they should include the display name and avatar URL fields in
these events so that clients already have these details to hand, and do
not have to perform extra round trips to query it.

## Security

{{% boxes/note %}}
The rate limiting section is now part of the [API standards section](#rate-limiting).
{{% /boxes/note %}}

## Modules

Modules are parts of the Client-Server API which are not universal to
Expand Down

0 comments on commit 0e24942

Please sign in to comment.