Skip to content

Commit

Permalink
Merge pull request #4 from sarfraznawaz2005/master
Browse files Browse the repository at this point in the history
Correct Middleware Class Path in Docs
  • Loading branch information
mpociot authored Feb 11, 2020
2 parents 8916481 + 3f32b12 commit 6af1fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ composer require beyondcode/laravel-server-timing

## Usage

To add server-timing header information, you need to add the `BeyondCode\ServerTiming\Middleware\ServerTimingMiddleware` middleware to your HTTP Kernel.
To add server-timing header information, you need to add the `\BeyondCode\ServerTiming\Middleware\ServerTimingMiddleware::class,` middleware to your HTTP Kernel.
In order to get the most accurate results, put the middleware as the first one to load in the middleware stack.

By default, the middleware measures only three things, to keep it as light-weight as possible:
Expand Down

0 comments on commit 6af1fe1

Please sign in to comment.