lock method

void lock ()

Lock the current Dio instance.

Dio will enqueue the incoming request tasks instead send them directly when interceptor.request is locked.

Implementation

void lock();