Back

multipart-interceptor (clj)

(source)

function

(multipart-interceptor) (multipart-interceptor options)
Creates a Interceptor to handle the multipart params, based on ring.middleware.multipart-params, taking same options. Mounts only if endpoint has `[:parameters :multipart]` defined. Publishes coerced parameters into `[:parameters :multipart]` under request.

Examples