2021-03-18 23:10:19 +00:00
|
|
|
import 'dart:io';
|
|
|
|
|
|
|
|
class MockHttpConnectionInfo implements HttpConnectionInfo {
|
|
|
|
@override
|
|
|
|
final InternetAddress remoteAddress;
|
|
|
|
@override
|
|
|
|
final int localPort, remotePort;
|
|
|
|
|
2021-03-20 02:33:34 +00:00
|
|
|
MockHttpConnectionInfo(
|
|
|
|
{required this.remoteAddress,
|
|
|
|
this.localPort = 8080,
|
|
|
|
this.remotePort = 80});
|
2021-03-18 23:10:19 +00:00
|
|
|
}
|