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: 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.
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 03:05:40 CET 2025 
 Total time taken to generate the page: 0.16639 seconds 
 |