You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/OtherAPIs.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,13 +74,13 @@ try {
74
74
}
75
75
```
76
76
77
-
## MIDDLEWAREOPTION
77
+
## MIDDLEWAREOPTIONS
78
78
79
-
You can override the client middleware behavior by setting per request middleware options. Use the `.middlewareOption()` request builder method to add custom middleware behavior for a specific request. The `middlewareOption()` method takes an array of strongly typed middleware options. These middleware options are an implementation of the [MiddlewareOption](../src/middleware/option/IMiddlewareOption.ts) interface.
79
+
You can override the client middleware behavior by setting per request middleware options. Use the `.middlewareOptions()` request builder method to add custom middleware behavior for a specific request. The `middlewareOptions()` method takes an array of strongly typed middleware options. These middleware options are an implementation of the [MiddlewareOption](../src/middleware/option/IMiddlewareOption.ts) interface.
80
80
81
81
```typescript
82
82
try {
83
-
let res =awaitclient.api("/me/messages").middlewareOption([
83
+
let res =awaitclient.api("/me/messages").middlewareOptions([
0 commit comments