pub trait EventSourceMethods {
    // Required methods
    fn Url(&self) -> DOMString;
    fn WithCredentials(&self) -> bool;
    fn ReadyState(&self) -> u16;
    fn GetOnopen(&self) -> Option<Rc<EventHandlerNonNull>>;
    fn SetOnopen(&self, value: Option<Rc<EventHandlerNonNull>>);
    fn GetOnmessage(&self) -> Option<Rc<EventHandlerNonNull>>;
    fn SetOnmessage(&self, value: Option<Rc<EventHandlerNonNull>>);
    fn GetOnerror(&self) -> Option<Rc<EventHandlerNonNull>>;
    fn SetOnerror(&self, value: Option<Rc<EventHandlerNonNull>>);
    fn Close(&self);
}

Required Methods§

Implementors§