enum class HttpMethod
GET
POST
PUT
DELETE
OPTIONS
createInstance
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors.