U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Way to decode websocket frames?
Re: Way to decode websocket frames? [message #59053 is a reply to message #59050] Sat, 22 October 2022 08:43 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 276
Registered: March 2010
Experienced Member
Hi,

Zlib is included in U++.


String ZDecompressWS(String s){

	StringStream out;
	MemReadStream in(~s, s.GetCount());
	ZDecompress(out, in, in.GetLeft(), [](int64, int64){ return true;}, false);
	
	return out.GetResult();
	
}


regard,
Abdelghani OMARI.


regards
omari.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: v14609 GetHashValue compilation error
Next Topic: Windows ProgramData directory
Goto Forum:
  


Current Time: Sun Apr 26 07:23:47 GMT+2 2026

Total time taken to generate the page: 0.00566 seconds