UNPKG

@pact-foundation/pact-cli

Version:
26 lines (25 loc) 702 B
import { AbstractService } from './service'; import { LogLevel } from './logger/types'; export declare class Server extends AbstractService { readonly options: ServerOptions; constructor(passedOptions?: ServerOptions); } declare const _default: (options?: ServerOptions) => Server; export default _default; export interface ServerOptions { port?: number; ssl?: boolean; cors?: boolean; dir?: string; host?: string; sslcert?: string; sslkey?: string; log?: string; spec?: number; consumer?: string; provider?: string; monkeypatch?: string; logLevel?: LogLevel; timeout?: number; pactFileWriteMode?: 'overwrite' | 'update' | 'merge'; }