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 |
omari
Messages: 266 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.
|
|
|
Goto Forum:
Current Time: Fri May 10 09:58:25 CEST 2024
Total time taken to generate the page: 0.02570 seconds
|