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