(data: ArrayBuffer, format: "gzip" | "deflate")
| 33 | ) |
| 34 | |
| 35 | const decompress = (data: ArrayBuffer, format: "gzip" | "deflate"): Promise<string> => |
| 36 | new Response(new Blob([data]).stream().pipeThrough(new DecompressionStream(format))).text() |
| 37 | |
| 38 | const platformContext = (compression: HttpPlatform.Compression): Context.Context<HttpPlatform.HttpPlatform> => |
| 39 | Context.make( |
no test coverage detected