diff options
author | zachdriver <zach@driver.xyz> | 2017-12-13 09:00:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-13 09:00:58 -0800 |
commit | e7f3907f174ad283a7c1c3306ed1077014e42568 (patch) | |
tree | 2af534f6ef38cf259c44870abff54e676a85845e /src/main/scala/xyz/driver/core | |
parent | c997e8556b37d7c90e21d1f69f4b52f898a068f7 (diff) | |
parent | 7bad5b0dd0f616de664f43d7d0f82d412b1adf61 (diff) | |
download | driver-core-1.6.9.tar.gz driver-core-1.6.9.tar.bz2 driver-core-1.6.9.zip |
Merge pull request #94 from drivergroup/zsmith/count-headersv1.6.9
Add context headers for resource and page count
Diffstat (limited to 'src/main/scala/xyz/driver/core')
-rw-r--r-- | src/main/scala/xyz/driver/core/rest/package.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/scala/xyz/driver/core/rest/package.scala b/src/main/scala/xyz/driver/core/rest/package.scala index 9ac1b62..ad5233f 100644 --- a/src/main/scala/xyz/driver/core/rest/package.scala +++ b/src/main/scala/xyz/driver/core/rest/package.scala @@ -53,6 +53,8 @@ object `package` { val TrackingIdHeader: String = "X-Trace" val StacktraceHeader: String = "X-Stacktrace" val OriginatingIpHeader: String = "X-Forwarded-For" + val ResourceCount: String = "X-Resource-Count" + val PageCount: String = "X-Page-Count" val TraceHeaderName: String = TracingDirectives.TraceHeaderName val SpanHeaderName: String = TracingDirectives.SpanHeaderName } |