URLEncoder.h 316 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/String.h>
  8. #include <AK/Vector.h>
  9. namespace Web {
  10. struct URLQueryParam {
  11. String name;
  12. String value;
  13. };
  14. String urlencode(const Vector<URLQueryParam>&, URL::PercentEncodeSet);
  15. }