NeuraLegion/cypress-har-generator

View on GitHub
src/cdp/ConnectionFactory.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { Connection } from './Connection';

export interface ConnectionOptions {
  port: number;
  host: string;
  maxRetries?: number;
  initialBackoff?: number;
  maximumBackoff?: number;
}

export interface ConnectionFactory {
  create(options: ConnectionOptions): Connection;
}