Runtime APIs

This page outlines the available runtime APIs which Dart Edge provides. The APIs attempt to match the underlying JavaScript APIs as closely as possible, however provide a "Dartified" API where it makes sense.

Implemented APIs are not guaranteed to be stable and may change in future releases (this is experimental!).

StatusDescription
✅API is implemented & fully tested.
API is implemented.
API is partially implemented.
🔴API is not implemented.

Network APIs#

APIStatusMDN ReferenceAPI Reference
addFetchEventListener📖📖
Fetch📖📖
FetchEvent📖📖
Headers📖📖
Request📖📖
Response📖📖
FormData📖📖

Encoding APIs#

APIStatusMDN ReferenceAPI Reference
TextDecoder📖📖
TextEncoder📖📖
atob📖📖
btoa📖📖

Stream APIs#

The Streaming APIs are subject to change. Dart provides great support for Streams so we're still figuring out the best public API for interacting with these underlying APIs.

APIStatusMDN ReferenceAPI Reference
ReadableStream🔴📖📖
ReadableStreamBYOBReader🔴📖📖
ReadableStreamDefaultReader🔴📖📖
TransformStream🔴📖📖
WritableStream🔴📖📖
WritableStreamDefaultWriter🔴📖📖

Crypto APIs#

APIStatusMDN ReferenceAPI Reference
crypto📖
CryptoKey🔴📖
SubtleCrypto🔴📖

Standard APIs#

APIStatusMDN ReferenceAPI Reference
AbortController📖📖
Cache📖📖