class Onyx::HTTP::Middleware::ResponseTime

Overview

Sets "X-Response-Time" header to the integer amount of microseconds elapsed to process this request. It is expected to be placed in the very beginning of the middleware.

Included Modules

Defined in:

onyx-http/middleware/response_time.cr

Instance Method Summary

Instance Method Detail

def call(context) #

[View source]