MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / SetResponseType

Method SetResponseType

Polyfills/XMLHttpRequest/Source/XMLHttpRequest.cpp:113–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 void XMLHttpRequest::SetResponseType(const Napi::CallbackInfo&, const Napi::Value& value)
114 {
115 m_request.ResponseType(ResponseType::StringToEnum(value.As<Napi::String>().Utf8Value()));
116 }
117
118 Napi::Value XMLHttpRequest::GetResponseURL(const Napi::CallbackInfo&)
119 {

Callers

nothing calls this directly

Calls 3

StringToEnumFunction · 0.85
Utf8ValueMethod · 0.80
ResponseTypeMethod · 0.45

Tested by

no test coverage detected