Update instance types
This commit is contained in:
parent
40ab34c63d
commit
2b9152ff79
4 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@ require "colorize"
|
|||
require "http"
|
||||
|
||||
class Kemal::CommonLogHandler < Kemal::BaseLogHandler
|
||||
@handler : IO::FileDescriptor+
|
||||
@handler : IO::FileDescriptor
|
||||
getter handler
|
||||
|
||||
def initialize(@env)
|
||||
|
|
|
@ -2,7 +2,7 @@ module Kemal
|
|||
class Config
|
||||
INSTANCE = Config.new
|
||||
HANDLERS = [] of HTTP::Handler
|
||||
@ssl : OpenSSL::SSL::Context
|
||||
@ssl : OpenSSL::SSL::Context?
|
||||
|
||||
property host_binding, ssl, port, env, public_folder, logging,
|
||||
always_rescue, serve_static, run
|
||||
|
@ -18,7 +18,7 @@ module Kemal
|
|||
@error_handler = nil
|
||||
@always_rescue = true
|
||||
@run = false
|
||||
@ssl = uninitialized OpenSSL::SSL::Context
|
||||
@ssl = nil
|
||||
end
|
||||
|
||||
def logger
|
||||
|
|
|
@ -9,7 +9,7 @@ class Kemal::ParamParser
|
|||
URL_ENCODED_FORM = "application/x-www-form-urlencoded"
|
||||
APPLICATION_JSON = "application/json"
|
||||
|
||||
def initialize(@request : HTTP::Request, @url_params : String? = nil , @override_method : String? = nil)
|
||||
def initialize(@request : HTTP::Request)
|
||||
@url = {} of String => String
|
||||
@query = {} of String => String
|
||||
@body = {} of String => String
|
||||
|
|
Loading…
Reference in a new issue