ondata method
void
ondata(
- dynamic data
Called with incoming transport data.
Implementation
void ondata(data) {
// try/catch is needed for protocol violations (GH-1880)
try {
decoder.add(data);
} catch (e, _) {
print(e);
}
}