UNPKG

mappersmith

Version:

It is a lightweight rest client for node.js and the browser

7 lines (6 loc) 264 B
import type { Middleware } from './index'; /** * Sets a request header with the value of a cookie from document.cookie, if it exists */ export declare const CsrfMiddleware: (cookieName?: string, headerName?: string) => Middleware; export default CsrfMiddleware;