class Faraday::Request::UrlEncoded

def call(env)

Parameters:
  • env (Faraday::Env) --
def call(env)
  match_content_type(env) do |data|
    params = Faraday::Utils::ParamsHash[data]
    env.body = params.to_query(env.params_encoder)
  end
  @app.call env
end