Bukdu.System
Bukdu.System.halted_error โ Functionhalted_error(c::SystemController)Bukdu.System.not_applicable โ Functionnot_applicable(c::SystemController)Bukdu.System.internal_error โ Functioninternal_error(c::SystemController)Bukdu.System.not_found โ Functionnot_found(c::MissingController)Debugging the requests and responses on the fly
Bukdu provides a way to catch the requests and responses.
julia> Bukdu.System.catch_request(route::Bukdu.Route, req) = @debug "REQ " req.headers
julia> Bukdu.System.catch_response(route::Bukdu.Route, resp) = @debug "RESP" resp.headers resp.statusBukdu.System.catch_request โ FunctionBukdu.System.catch_request(route::Bukdu.Route, conn)Bukdu.System.catch_response โ FunctionBukdu.System.catch_response(route::Bukdu.Route, conn)