MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / isControlFrame

Method isControlFrame

Libraries/Http/HttpWebSocket.cpp:367–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365 return false;
366 }
367 const CC_LONG dataSize = static_cast<CC_LONG>(data.sizeInBytes());
368 return static_cast<size_t>(dataSize) == data.sizeInBytes() and CC_SHA1(data.data(), dataSize, digest) != nullptr;
369}
370#if SC_COMPILER_CLANG
371#pragma clang diagnostic pop
372#endif
373#elif SC_PLATFORM_WINDOWS

Callers 8

controlFramesMethod · 0.80
onHeaderReadyMethod · 0.80
finishCurrentFrameMethod · 0.80
beginFrameMethod · 0.80
finishFrameMethod · 0.80
onFrameHeaderMethod · 0.80
onReaderFrameHeaderMethod · 0.80
onReaderPayloadMethod · 0.80

Calls

no outgoing calls

Tested by 1

controlFramesMethod · 0.64