pingUrl

Function

Ping a non FS url and return response status && headers

  • pingUrl(url: string) : Promise<{
    headers:
    Headers
    ok:
    boolean
    }>

Parameters

Parameter Type Default Notes
url Required string

Non FS URL

Returns

{Promise<{ ok: boolean, headers: Headers }>}

Promise<{
headers:
Headers
ok:
boolean
}>

Function defined in common/src/resources/_internal/_validate-url-helpers.ts:155