on master help sign in
fix table formatting
commit1e8dd599ba0d91d9b206a4daaa8daeb1cecbf03c authorTinnus Napbus <admin@tinnus-napbus.xyz> dateSun 20 Mar 2022, 05:44 (5 years ago) parent2389594
1 file changed+4−3
content/docs/userspace/http-api-guide.md+4−3
content/docs/userspace/http-api-guide.md+4−3
@@ -238,10 +238,11 @@ channel will be opened whenever you first send a poke or subscription request.
238238`Urbit` class includes three optional callbacks that fire when the SSE
239239connection state changes:
240240
241−| Callback | Description |
242−| `Urbit.onOpen` | Called when an SSE channel connection is successfully established. |
241+| Callback | Description |
242+| --------------- | ------------------------------------------------------------------------------------------------------------------------- |
243+| `Urbit.onOpen` | Called when an SSE channel connection is successfully established. |
243244| `Urbit.onRetry` | This is called whenever a reconnection attempt is made due to an interruption, for example if there are network problems. |
244−| `Urbit.onError` | This is called when there is an unrecoverable error, for example after enough reconnection attemps have failed. |
245+| `Urbit.onError` | This is called when there is an unrecoverable error, for example after enough reconnection attemps have failed. |
245246
246247As mentioned in the previous section, typically a channel will be opened and an
247248SSE connection established after you first poke the ship or make a subscription