(method: keyof HttpClient)
| 172 | ) |
| 173 | |
| 174 | const accessor = (method: keyof HttpClient) => (...args: Array<any>): Effect.Effect<any, any, any> => |
| 175 | Effect.flatMap( |
| 176 | HttpClient, |
| 177 | (client) => (client as any)[method](...args) |
| 178 | ) |
| 179 | |
| 180 | /** |
| 181 | * Executes a prebuilt `HttpClientRequest` using the `HttpClient` service from the environment. |