// csrfTokenFromForm returns a `csrfTokenExtractor` that extracts token from the
// provided form parameter.
csrfTokenFromForm returns a `csrfTokenExtractor` that extracts token from the
provided form parameter.
// csrfTokenFromForm returns a ` csrfTokenExtractor ` that extracts token from the // provided form parameter .
func csrfTokenFromForm(param string) csrfTokenExtractor {
	return func(ctx *fasthttp.RequestCtx) ([]byte, error) {
		srcToken := ctx.PostArgs().Peek(param)
		return copyCSRFTokenFromRequest(srcToken)
	}
}
func csrfTokenFromForm ( param string ) csrfTokenExtractor { return func ( ctx * fasthttp . RequestCtx ) ( [ ] byte , error ) { srcToken := ctx . PostArgs ( ) . Peek ( param ) return copyCSRFTokenFromRequest ( srcToken ) } }
csrfTokenFromForm returns a `csrfTokenExtractor` that extracts token from the
provided form parameter.
csrfTokenFromForm returns a ` csrfTokenExtractor ` that extracts token from the provided form parameter .