mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:22:44 +00:00 
			
		
		
		
	 944e5cfb35
			
		
	
	
		944e5cfb35
		
	
	
	
	
		
			
			Remove superfluous includes from IPCCompiler's generated output and add include directives in IPC definitions where appropriate.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			493 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			493 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #include <AK/URL.h>
 | |
| 
 | |
| endpoint WebSocketServer
 | |
| {
 | |
|     // Connection API
 | |
|     connect(URL url, String origin, Vector<String> protocols, Vector<String> extensions, IPC::Dictionary additional_request_headers) => (i32 connection_id)
 | |
|     ready_state(i32 connection_id) => (u32 ready_state)
 | |
|     send(i32 connection_id, bool is_text, ByteBuffer data) =|
 | |
|     close(i32 connection_id, u16 code, String reason) =|
 | |
| 
 | |
|     set_certificate(i32 connection_id, String certificate, String key) => (bool success)
 | |
| }
 |