Skip to content

@videts/vide


@videts/vide / vast / fetchVast

Function: fetchVast()

fetchVast(tagUrl, options?): Promise<string>

Defined in: vast/parser.ts:636

Fetch a VAST tag URL. Separated from parsing for testability.

Parameters

ParameterType
tagUrlstring
options?{ timeout?: number; }
options.timeout?number

Returns

Promise<string>