Home > @gglib/utils > httpRequest

httpRequest() function

Creates and send an XMLHttpRequest

Signature:

export declare function httpRequest(options: HttpOptions): Promise<XMLHttpRequest>;

Parameters

Parameter Type Description
options HttpOptions Request options

Returns:

Promise<XMLHttpRequest>