( response: HttpServerResponse.HttpServerResponse, name: string, value: string, options: typeof RESPONSE_COOKIE_OPTIONS, )
| 151 | }; |
| 152 | |
| 153 | const setResponseCookie = ( |
| 154 | response: HttpServerResponse.HttpServerResponse, |
| 155 | name: string, |
| 156 | value: string, |
| 157 | options: typeof RESPONSE_COOKIE_OPTIONS, |
| 158 | ) => HttpServerResponse.setCookieUnsafe(response, name, value, options); |
| 159 | |
| 160 | const deleteResponseCookie = (response: HttpServerResponse.HttpServerResponse, name: string) => |
| 161 | HttpServerResponse.setCookieUnsafe(response, name, "", DELETE_COOKIE_OPTIONS); |