13 lines
302 B
Dart
13 lines
302 B
Dart
import 'dart:io';
|
|
|
|
class MockHttpConnectionInfo implements HttpConnectionInfo {
|
|
@override
|
|
final InternetAddress remoteAddress;
|
|
@override
|
|
final int localPort, remotePort;
|
|
|
|
MockHttpConnectionInfo(
|
|
{required this.remoteAddress,
|
|
this.localPort = 8080,
|
|
this.remotePort = 80});
|
|
}
|