W3cubDocs

/Haxe JavaScript

RequestInit

package js.html

Available on js

Properties

@:optional body:Null<EitherType<ArrayBuffer, EitherType<ArrayBufferView, EitherType<Blob, EitherType<FormData, EitherType<String, URLSearchParams>>>>>>

@:optional cache:Null<RequestCache>

@:optional credentials:Null<RequestCredentials>

@:optional headers:Null<EitherType<Headers, EitherType<Array<Array<String>>, Dynamic>>>

@:optional method:Null<String>

@:optional mode:Null<RequestMode>

@:optional redirect:Null<RequestRedirect>

@:optional referrer:Null<String>

@:optional referrerPolicy:Null<ReferrerPolicy>

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/RequestInit.html