mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Add getters to Route#{path,method} (#332)
This commit is contained in:
		
							parent
							
								
									298a4b234b
								
							
						
					
					
						commit
						e0511743b1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -3,7 +3,7 @@ module Kemal | |||
|   # It takes 3 parameters: Method, path and a block to specify | ||||
|   # what action to be done if the route is matched. | ||||
|   class Route | ||||
|     getter handler | ||||
|     getter method, path, handler | ||||
|     @handler : HTTP::Server::Context -> String | ||||
|     @method : String | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue