Skip to content

Commit 8bd8565

Browse files
authored
style: remove trailing whitespace (#448)
1 parent 0e08bc3 commit 8bd8565

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ An array that contains the routes to handle. Default: `['/', '/*']`.
199199

200200
### `preRewrite`
201201

202-
A function that will be executed before rewriting the URL. It receives the URL, the request parameters and the prefix and must return the new URL.
202+
A function that will be executed before rewriting the URL. It receives the URL, the request parameters and the prefix and must return the new URL.
203203

204204
The function cannot return a promise.
205205

@@ -271,7 +271,7 @@ See the example in [examples/reconnection](examples/reconnection).
271271

272272
### `wsHooks`
273273

274-
On websocket events, the following hooks are available, note **the hooks are all synchronous**.
274+
On websocket events, the following hooks are available, note **the hooks are all synchronous**.
275275
The `context` object is passed to all hooks and contains the `log` property.
276276

277277
- `onIncomingMessage`: A hook function that is called when the request is received from the client `onIncomingMessage(context, source, target, { data, binary })` (default: `undefined`).

examples/reconnection/ReconnectionExample.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ Examples of how hooks can be used based on the target service type:
5656
- GraphQL subscriptions: Resend the subscription from the last received message.
5757
- Message brokers: Resend messages starting from the last successfully processed message.
5858

59-
In this example, the proxy re-sends the messages from the last ping to ensure all the messages are sent to the target, without any additional logic.
59+
In this example, the proxy re-sends the messages from the last ping to ensure all the messages are sent to the target, without any additional logic.
6060
Resending messages from the last pong ensures that the target does not miss any messages, but it may send messages more than once.

0 commit comments

Comments
 (0)