canHijack property

bool canHijack

Whether this request can be hijacked.

This will be false either if the adapter doesn't support hijacking, or if the request has already been hijacked.

Implementation

bool get canHijack => _onHijack != null && !_onHijack!.called;