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

Method SetState

Sources/Shared/IO/WebRequest.cpp:455–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453 }
454
455 void WebRequestImpl::SetState(WebRequest::State state, StringView failMessage)
456 {
457 DEATH_DEBUG_ASSERT(state != _state);
458
459 if (state == WebRequest::State::Active) {
460 AddRef();
461 }
462
463 _state = state;
464 ProcessStateEvent(state, failMessage);
465 }
466
467 void WebRequestImpl::ReportDataReceived(std::size_t sizeReceived)
468 {

Callers 3

SetCredentialsMethod · 0.45
StartRequestMethod · 0.45
CancelRequestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected