( event: H3Event, response: Partial<RenderResponse>, )
| 35 | * @returns { Promise<void> } |
| 36 | */ |
| 37 | export async function useBrotliCompression( |
| 38 | event: H3Event, |
| 39 | response: Partial<RenderResponse>, |
| 40 | ): Promise<void> { |
| 41 | await compress(event, response, 'br') |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * Compresses the response with [Zlib]{@link https://www.w3schools.com/nodejs/ref_zlib.asp} |
no test coverage detected