Module: models/tcp/tcpRequest

Transforms a raw tcp request into the API-friendly representation of one

Source:

Methods

(inner) createFrom(request) → {Object}

Transforms the raw tcp request into a mountebank tcp request

Parameters:
Name Type Description
request Object

The raw tcp request

Source:
Returns:
  • A promise resolving to the mountebank tcp request
Type
Object