-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(request): adds option to return the raw fetch response
request() now accepts a new rawResponse boolean option to indicate that it should return the fetch response directly to the client. This is useful for piping the response to a stream. AFFECTS PACKAGES: @esri/arcgis-rest-auth @esri/arcgis-rest-feature-service-admin @esri/arcgis-rest-feature-service @esri/arcgis-rest-geocoder @esri/arcgis-rest-sharing stream-response-to-file ISSUES CLOSED: #462
- Loading branch information
Showing
16 changed files
with
288 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Running this demo | ||
|
||
1. Make sure you run `npm run bootstrap` in the root folder to setup the dependencies | ||
1. Create the `output` directory if it does not already exist (i.e. `mkdir output`) | ||
1. Run `npm start` | ||
|
||
Features from https://services.arcgis.com/uUvqNMGPm7axC2dD/arcgis/rest/services/Boating_Access_Sites/FeatureServer/0 will be written in GeoJSON format to a file in the `output` directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.