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

Method Open

Polyfills/XMLHttpRequest/Source/XMLHttpRequest.cpp:169–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 void XMLHttpRequest::Open(const Napi::CallbackInfo& info)
170 {
171 m_request.Open(MethodType::StringToEnum(info[0].As<Napi::String>().Utf8Value()), info[1].As<Napi::String>().Utf8Value());
172 SetReadyState(ReadyState::Opened);
173 }
174
175 void XMLHttpRequest::Send(const Napi::CallbackInfo& /*info*/)
176 {

Callers

nothing calls this directly

Calls 2

StringToEnumFunction · 0.85
Utf8ValueMethod · 0.80

Tested by

no test coverage detected