Make async XMLHttpRequest requests use async network events.

This commit is contained in:
Josh Matthews 2015-01-26 11:56:46 +00:00
parent 7517aac9e9
commit 5c7be5c9c3
4 changed files with 283 additions and 13 deletions

View file

@ -16,6 +16,7 @@ use std::cell::{BorrowState, RefCell, Ref, RefMut};
///
/// This extends the API of `core::cell::RefCell` to allow unsafe access in
/// certain situations, with dynamic checking in debug builds.
#[derive(Clone)]
pub struct DOMRefCell<T> {
value: RefCell<T>,
}