newBinaryRequest method
Constructs a new BinaryRequest that will use this client to send the request. Throws a StateError if this client has been closed.
Implementation
@override
BinaryRequest newBinaryRequest() {
verifyNotClosed();
final request = MockBinaryRequest.fromClient(this, _transport);
registerAndDecorateRequest(request);
return request;
}