// Does nothing otherwise.
void dispatch(PassRefPtr<Event> /* event */);
+ bool isEmpty() const;
+
void suspend();
void resume();
void stop();
// send() method after the state changed to CLOSING or CLOSED.
void updateBufferedAmountAfterClose(unsigned long);
+ void releaseChannel();
+
enum BinaryType {
BinaryTypeBlob,
BinaryTypeArrayBuffer