()
| 242 | } |
| 243 | |
| 244 | get stream(): Stream.Stream<Uint8Array, Error.HttpClientError> { |
| 245 | return NodeStream.fromReadable({ |
| 246 | evaluate: () => this.source.body, |
| 247 | onError: (cause) => |
| 248 | new Error.HttpClientError({ |
| 249 | reason: new Error.DecodeError({ |
| 250 | request: this.request, |
| 251 | response: this, |
| 252 | cause |
| 253 | }) |
| 254 | }) |
| 255 | }) |
| 256 | } |
| 257 | |
| 258 | get json(): Effect.Effect<Schema.Json, Error.HttpClientError> { |
| 259 | return Effect.flatMap(this.text, (text) => |
nothing calls this directly
no outgoing calls
no test coverage detected