File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed
docs/tutorial/03-client/01-strategy
i18n/zh-CN/docusaurus-plugin-content-docs
current/tutorial/03-client/01-strategy
version-v2/tutorial/05-strategy
versioned_docs/version-v2/tutorial/05-strategy Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,13 @@ use hook
1313
1414> Before using extension hooks, make sure you are familiar with the basic usage of alova.
1515
16- A use hook that can automatically retry a request failure, you can use it for important requests.
16+ This hook is implemented using the ` EventSource ` API.
17+
18+ ::: warning note
19+
20+ When you are not to be used in useSSE add custom header, because the standard [ does not contain the behavior] ( https://stackoverflow.com/a/36226251 )
21+
22+ :::
1723
1824## Features
1925
Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ use hook
1515
1616通过 Server-sent Events(SSE)请求,内部使用` EventSource ` 实现。
1717
18+ :::warning 注意
19+
20+ 你不可以在使用 useSSE 时添加自定义 header,因为该标准[ 不包含这一行为] ( https://stackoverflow.com/a/36226251 ) 。
21+
22+ :::
23+
1824## 特性
1925
2026- 更加简洁易用的使用方式;
Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ use hook
1515
1616通过 Server-sent Events(SSE)请求,内部使用` EventSource ` 实现。
1717
18+ :::warning 注意
19+
20+ 你不可以在使用 useSSE 时添加自定义 header,因为该标准[ 不包含这一行为] ( https://stackoverflow.com/a/36226251 ) 。
21+
22+ :::
23+
1824## 特性
1925
2026- 更加简洁易用的使用方式;
Original file line number Diff line number Diff line change @@ -13,7 +13,13 @@ use hook
1313
1414> Before using extension hooks, make sure you are familiar with the basic usage of alova.
1515
16- A use hook that can automatically retry a request failure, you can use it for important requests.
16+ This hook is implemented using the ` EventSource ` API.
17+
18+ ::: warning note
19+
20+ When you are not to be used in useSSE add custom header, because the standard [ does not contain the behavior] ( https://stackoverflow.com/a/36226251 )
21+
22+ :::
1723
1824## Features
1925
You can’t perform that action at this time.
0 commit comments