mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:52:44 +00:00 
			
		
		
		
	 3c5f75ed53
			
		
	
	
		3c5f75ed53
		
	
	
	
	
		
			
			Adds metadata about apps for what file types and protocols they can handle, then consumes that in the LaunchServer. The LaunchServer can then use that to offer multiple options for what apps can open a given URL. Callers can then pass back the handler name to the LaunchServer to use an alternate app :)
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			190 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			190 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| endpoint LaunchServer = 101
 | |
| {
 | |
|     Greet() => (i32 client_id)
 | |
|     OpenUrl(String url, String handler_name) => (bool response)
 | |
|     GetHandlersForURL(String url) => (Vector<String> handlers)
 | |
| }
 |