Struct xpcom::interfaces::nsIWebSocketEventListener [] [src]

#[repr(C)]
pub struct nsIWebSocketEventListener { /* fields omitted */ }

interface nsIWebSocketEventListener : nsISupports

Methods

impl nsIWebSocketEventListener
[src]

[src]

Cast this nsIWebSocketEventListener to one of its base interfaces.

impl nsIWebSocketEventListener
[src]

TYPE_STRING: i64 = 0

TYPE_BLOB: i64 = 1

TYPE_ARRAYBUFFER: i64 = 2

[src]

[must_use] void webSocketCreated (in unsigned long aWebSocketSerialID, in AString aURI, in ACString aProtocols);

[src]

[must_use] void webSocketOpened (in unsigned long aWebSocketSerialID, in AString aEffectiveURI, in ACString aProtocols, in ACString aExtensions);

[src]

[must_use] void webSocketMessageAvailable (in unsigned long aWebSocketSerialID, in ACString aMessage, in unsigned short aType);

[src]

[must_use] void webSocketClosed (in unsigned long aWebSocketSerialID, in boolean aWasClean, in unsigned short aCode, in AString aReason);

[src]

[must_use] void frameReceived (in unsigned long aWebSocketSerialID, in nsIWebSocketFrame aFrame);

[src]

[must_use] void frameSent (in unsigned long aWebSocketSerialID, in nsIWebSocketFrame aFrame);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIWebSocketEventListener
[src]

IID: nsIID = nsID(3888121259, 59028, 18587, [183, 65, 150, 219, 67, 255, 177, 111])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIWebSocketEventListener
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIWebSocketEventListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.