Page Contents

Home > @loopback/testlab > stubServerResponse

stubServerResponse() function

Signature:

export declare function stubServerResponse(request: IncomingMessage, onEnd: ShotCallback): ServerResponse;

Parameters

Parameter Type Description
request IncomingMessage  
onEnd ShotCallback  

Returns:

ServerResponse