summaryrefslogtreecommitdiff
path: root/js/fetch.ts
AgeCommit message (Collapse)Author
2018-09-30Improve fetch headers (#853)ztplz
2018-09-14Make fetch.blob() workParsa Ghadimi
2018-09-14Rename fetch_types.d.ts to dom_types.d.tsParsa Ghadimi
2018-09-12Add support for fetch() headers (#727)qti3e
2018-09-10fbs_util.ts -> dispatch.tsRyan Dahl
And send() -> sendSync()
2018-09-09Remove namespace from src/msg.fbsRyan Dahl
2018-09-09Map promises onto futures.Ryan Dahl
Refactors handlers.rs The idea is that all Deno "ops" (aka bindings) should map onto a Rust Future. By setting the "sync" flag in the Base message users can determine if the future is executed immediately or put on the event loop. In the case of async futures, a promise is automatically created. Errors are automatically forwarded and raised. TODO: - The file system ops in src/handler.rs are not using the thread pool yet. This will be done in the future using tokio_threadpool::blocking. That is, if you try to call them asynchronously, you will get a promise and it will act asynchronous, but currently it will be blocking. - Handlers in src/handler.rs returned boxed futures. This was to make it easy while developing. We should try to remove this allocation.
2018-09-06Check allow-net in fetchParsa Ghadimi
2018-08-31Refactor libdeno.send() code to reduce boilerplate.Ryan Dahl
Also removes assignCmdId as it's currently unused.
2018-08-25Prevent circular imports in ts code (#576)Francesco Borzì
2018-08-23fmtRyan Dahl
2018-08-20Fix TS errors in fetch.tsRyan Dahl
2018-08-20First pass at fetch()Ryan Dahl
With help from Thomas Ghysels <info@thomasg.be>
2018-08-19add notImplemented and unreachable util functions (#540)Bartek Iwańczuk
2018-07-24Change copyrights to be 'Deno authors'.Ryan Dahl
2018-07-06Import ts file from prototype without changeRyan Dahl
From commit 559453cf6cc88283bcf8fdeccd387458f5c63165 Excluding v8worker.d.ts, main.ts, and deno.d.ts. Updates tslint.json to be original settings.