Module: models/http/httpServer

Represents an http imposter

Source:

Methods

(static) initialize(logger, allowInjection, mock, debug) → {Object}

Initializes the http imposter protocol

Parameters:
Name Type Description
logger object

the base logger

allowInjection boolean

The --allowInjection command line parameter

mock boolean

The --mock command line parameter

debug boolean

The --debug command line parameter

Source:
Returns:
  • The protocol implementation
Type
Object