is there any way to detect in Haxe / OpenFL protocol connection HTTP or HTTPS?
It’s specific to html5, so do:
#if html5
import js.Browser
Browser.location.protocol
#end
3 Likes
is there any way to detect in Haxe / OpenFL protocol connection HTTP or HTTPS?
It’s specific to html5, so do:
#if html5
import js.Browser
Browser.location.protocol
#end