mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Tidy up config properties
This commit is contained in:
		
							parent
							
								
									731b2e0d5b
								
							
						
					
					
						commit
						3050b75f0a
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -11,16 +11,17 @@ module Kemal | |||
|     WEBSOCKET_HANDLERS = [] of HTTP::WebSocketHandler | ||||
|     FILTER_HANDLERS    = [] of HTTP::Handler | ||||
|     ERROR_HANDLERS     = {} of Int32 => HTTP::Server::Context, Exception -> String | ||||
| 
 | ||||
|     {% if flag?(:without_openssl) %} | ||||
|     @ssl : Bool? | ||||
|     {% else %} | ||||
|     @ssl : OpenSSL::SSL::Context::Server? | ||||
|     {% end %} | ||||
| 
 | ||||
|     property host_binding, ssl, port, env, public_folder, logging, running, | ||||
|       always_rescue, serve_static : (Bool | Hash(String, Bool)), server, extra_options, | ||||
|       shutdown_message | ||||
|     getter custom_handler_position | ||||
|     property host_binding, ssl, port, env, public_folder, logging, running | ||||
|     property always_rescue, server, extra_options, shutdown_message | ||||
|     property serve_static : (Bool | Hash(String, Bool)) | ||||
|     property static_headers : (HTTP::Server::Response, String, File::Stat -> Void)? | ||||
| 
 | ||||
|     def initialize | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue