mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Add class method API to Kemal::Base
This commit is contained in:
		
							parent
							
								
									2e42b3f48c
								
							
						
					
					
						commit
						53fa65f964
					
				
					 4 changed files with 62 additions and 9 deletions
				
			
		
							
								
								
									
										9
									
								
								samples/app.cr
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								samples/app.cr
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,9 @@ | |||
| require "kemal/base" | ||||
| 
 | ||||
| class MyApp < Kemal::Application | ||||
|   get "/" do | ||||
|     "Hello Kemal!" | ||||
|   end | ||||
| end | ||||
| 
 | ||||
| MyApp.run | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue