MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / SetCredentials

Method SetCredentials

Sources/Shared/IO/WebRequest.cpp:355–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353 }
354
355 void WebAuthChallenge::SetCredentials(const WebCredentials& cred)
356 {
357 DEATH_ASSERT(_impl != nullptr, "Cannot be called with an uninitialized object", );
358
359 _impl->SetCredentials(cred);
360 }
361
362 WebRequestImpl::WebRequestImpl(WebSessionAsync& session, WebSessionImpl& sessionImpl, Function<void(WebRequestEvent&)>&& callback, std::int32_t id)
363 : _storage(WebRequest::Storage::Memory), _headers(sessionImpl.GetHeaders()), _dataSize(0), _securityFlags(WebRequestBase::Ignore::None),

Callers 1

WriteDataMethod · 0.80

Calls 11

DEATH_ASSERTFunction · 0.85
CURLSetOptFunction · 0.85
CheckResultMethod · 0.80
SendRequestMethod · 0.80
GetUserMethod · 0.80
GetPasswordMethod · 0.80
StartRequestMethod · 0.80
GetStateMethod · 0.45
SetStateMethod · 0.45
GetHandleMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected