W3cubDocs

/Haxe JavaScript

RequestMode(String)

package js.html

Available on js

Variables

@:value(cast "cors") @:enum @:impl inline read only CORS:RequestMode = "cors"

@:value(cast "no-cors") @:enum @:impl inline read only NO_CORS:RequestMode = "no-cors"

@:value(cast "same-origin") @:enum @:impl inline read only SAME_ORIGIN:RequestMode = "same-origin"

Static variables

@:value(cast "cors") @:enum @:impl static inline read only CORS:RequestMode = "cors"

@:value(cast "no-cors") @:enum @:impl static inline read only NO_CORS:RequestMode = "no-cors"

@:value(cast "same-origin") @:enum @:impl static inline read only SAME_ORIGIN:RequestMode = "same-origin"

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