0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00
denoland-deno/ext/fetch
Aaron O'Mullan 375ce63c63
feat(core): streams (#12596)
This allows resources to be "streams" by implementing read/write/shutdown. These streams are implicit since their nature (read/write/duplex) isn't known until called, but we could easily add another method to explicitly tag resources as streams.

`op_read/op_write/op_shutdown` are now builtin ops provided by `deno_core`

Note: this current implementation is simple & straightforward but it results in an additional alloc per read/write call

Closes #12556
2021-11-09 19:26:17 +01:00
..
01_fetch_util.js Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
20_headers.js perf(fetch): optimize fillHeaders() key iteration (#12287) 2021-10-01 12:17:16 +02:00
21_formdata.js chore: upgrade crates based on deno ast 0.3 (#12403) 2021-10-12 09:58:04 -04:00
22_body.js perf(http): encode string bodies in op-layer (#12451) 2021-10-26 22:00:01 +02:00
22_http_client.js cleanup(ext/fetch): consistent op names (#12612) 2021-10-31 19:14:22 +01:00
23_request.js perf(fetch): optimize newInnerRequest blob url check (#12245) 2021-09-27 13:19:24 +02:00
23_response.js perf(webidl): inline ResponseInit converter (#12285) 2021-10-11 23:43:52 +02:00
26_fetch.js feat(core): streams (#12596) 2021-11-09 19:26:17 +01:00
Cargo.toml chore: bump crate versions for 1.16.0 (#12706) 2021-11-09 13:03:17 +01:00
fs_fetch_handler.rs feat(ext/fetch): support fetching local files (#12545) 2021-11-01 15:29:46 +11:00
internal.d.ts Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
lib.deno_fetch.d.ts fix: declare web types as global (#12497) 2021-10-21 08:47:14 +02:00
lib.rs feat(core): streams (#12596) 2021-11-09 19:26:17 +01:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00

deno_fetch

This crate implements the Fetch API.

Spec: https://fetch.spec.whatwg.org/