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
{{ message }}
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,9 +51,9 @@ Every open-api method has the following signature:
51
51
52
52
Perform a call to the given endpoint corresponding with the `operationId`. Returns promise that will resolve with the body of the response, or reject with an error with details about the request attached. Rejects if the `status` > 400. Successful response objects have `status` and `statusText` properties on their prototype.
53
53
54
-
-`params` is an object that includes any of the required or optional endpoint parameters.
55
-
-`params.body` should be an object which gets serialized to JSON automatically.
56
-
- If the endpoint accepts `binary`, `params.body` can be a Node.js readable stream.
54
+
-`params` is an object that includes any of the required or optional endpoint parameters.
55
+
-`params.body` should be an object which gets serialized to JSON automatically.
56
+
- If the endpoint accepts `binary`, `params.body` can be a Node.js readable stream or stream ctor (e.g. `() => fs.createReadStream('./foo')`). A Stream ctor function is required to support rate limit retry.
0 commit comments