A buffered HTTP response, as IDiscoveryHttp.request returns it.
IDiscoveryHttp.request
headers is exposed because Consul's blocking-query protocol lives entirely in the X-Consul-Index response header.
headers
X-Consul-Index
0.2.0
Readonly
Response headers.
Whether the status is 2xx.
HTTP status code.
Response body, read to completion as text.
A buffered HTTP response, as
IDiscoveryHttp.requestreturns it.headersis exposed because Consul's blocking-query protocol lives entirely in theX-Consul-Indexresponse header.Since
0.2.0