IDiscoveryHttp.request(url: string,init?: RequestInit): Promise<DiscoveryHttpResponse>
Performs a request and reads the whole body.
A non-2xx response is returned with ok: false, never thrown — callers
decide what a 404 or a 410 means.
optional
init: RequestInit
Standard fetch init
Promise<DiscoveryHttpResponse>
The buffered response