We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#use
#logger
Usage:
Halite.use("logger").get "https://httpbin.org/get" Halite.use("logger", format: "json").get "https://httpbin.org/get" Halite.use("logger", logger: Logger.new).get "https://httpbin.org/get"
Design:
abstract class Feature def initialize(**options) end # Cooks with request def request(request : Request) : Request request end # Cooking with response def response(response : Response) : Response response end # Interceptor # # Intercept and cooking request and response def intercept(chain : Interceptor::Chain) : Interceptor::Chain chain end end
Keep #logger in Chainable methods.
#31, #32, #36
The text was updated successfully, but these errors were encountered:
Merge remote-tracking branch 'origin/master' into feat/features-support
e9369a9
(#29)
refactor(logger): Implementation of the logger with features (#29)
77d547d
No branches or pull requests
#use
#logger
to middlewareFeatures
Usage:
Design:
Logger
Keep
#logger
in Chainable methods.PRs
#31, #32, #36
The text was updated successfully, but these errors were encountered: