Page Contents

Home > @loopback/testlab > httpsGetAsync

httpsGetAsync() function

Async wrapper for making HTTPS GET requests

Signature:

export declare function httpsGetAsync(urlString: string, agent?: https.Agent): Promise<IncomingMessage>;

Parameters

Parameter Type Description

urlString

string

agent

https.Agent

(Optional)

Returns:

Promise<IncomingMessage>