From 8f450c77a6f7b01faebbe2590baed7686f090a2d Mon Sep 17 00:00:00 2001 From: Leonid Bugaev Date: Wed, 17 May 2017 21:34:26 +0300 Subject: [PATCH] Update README.md --- middleware/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/middleware/README.md b/middleware/README.md index b82cf40..c8a9cf1 100644 --- a/middleware/README.md +++ b/middleware/README.md @@ -32,10 +32,11 @@ gor.on('request', function(data) { // \r\n data.http - // Meta is an array size of 3, containing: + // Meta is an array size of 4, containing: // 1. request type - 1, 2 or 3 (which maps to `request`, `respose` and `replay`) - // 2. timestamp of when request was made (for responses it is time of request start too) - // 3. latency - time difference between request start and finish. For `request` is zero. + // 2. uuid - request unique identifier. Request responses have the same ID as their request. + // 3. timestamp of when request was made (for responses it is time of request start too) + // 4. latency - time difference between request start and finish. For `request` is zero. data.meta // Unique request ID. It should be same for `request`, `response` and `replay` events of the same request.