The Fetch API Request interface (undici).

See also:

Constructor

new(input:String, ?init:RequestInit)

new(input:Request, ?init:RequestInit)

new(input:URL, ?init:RequestInit)

Variables

read onlybody:Null<ReadableStream>

A ReadableStream of the body contents, or null.

read onlybodyUsed:Bool

read onlycache:String

read onlyduplex:String

read onlyheaders:Headers

read onlyintegrity:String

read onlyisHistoryNavigation:Bool

Always false in Node.js (undici); provided for browser API completeness.

read onlyisReloadNavigation:Bool

Always false in Node.js (undici); provided for browser API completeness.

read onlykeepalive:Bool

read onlymethod:String

read onlymode:String

read onlyredirect:String

read onlyreferrer:String

read onlyurl:String

Methods