sendFrame method
Sends a raw frame — for tests of what a client does with a message it cannot read.
Implementation
void sendFrame(String frame) {
try {
if (isOpen) _end.send(frame);
} on StateError {
// Closed: lost.
}
}
Sends a raw frame — for tests of what a client does with a message it cannot read.
void sendFrame(String frame) {
try {
if (isOpen) _end.send(frame);
} on StateError {
// Closed: lost.
}
}