isSocket property

bool get isSocket

Whether it's a socket message rather than an HTTP request.

Implementation

bool get isSocket => socketEvent != null;