mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:02:45 +00:00 
			
		
		
		
	 6e19ab2bbc
			
		
	
	
		6e19ab2bbc
		
	
	
	
	
		
			
			We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			526 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			526 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #include <AK/URL.h>
 | |
| 
 | |
| endpoint LaunchServer
 | |
| {
 | |
|     open_url(URL url, DeprecatedString handler_name) => (bool response)
 | |
|     get_handlers_for_url(URL url) => (Vector<DeprecatedString> handlers)
 | |
|     get_handlers_with_details_for_url(URL url) => (Vector<DeprecatedString> handlers_details)
 | |
| 
 | |
|     add_allowed_url(URL url) => ()
 | |
|     add_allowed_handler_with_any_url(DeprecatedString handler_name) => ()
 | |
|     add_allowed_handler_with_only_specific_urls(DeprecatedString handler_name, Vector<URL> urls) => ()
 | |
|     seal_allowlist() => ()
 | |
| }
 |